Skip to content

Commit 226887b

Browse files
Merge branch 'push' into dev
2 parents f7f1bea + d55f2a9 commit 226887b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,9 @@ Usage: `git-sim pull [<remote> <branch>]`
307307
### git push
308308
Usage: `git-sim push [<remote> <branch>]`
309309

310-
- Pushes the specified `<branch>` to the specified `<remote>`
310+
- Pushes the specified `<branch>` to the specified `<remote>` and displays the local result
311311
- If `<remote>` and `<branch>` are not specified, the active branch is pushed to the default remote
312+
- If the push fails due to remote changes that don't exist in the local repo, a message is included telling the user to pull first, along with color coding which commits need to be pulled
312313

313314
## Video animation examples
314315
```console

0 commit comments

Comments
 (0)