Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
commit-id:dc701c8d
  • Loading branch information
ejoffe committed Jul 1, 2021
1 parent c63b6fb commit 62db5a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ Now use the editor to get the commit to the right place. **git rebase -i** is yo

Managing Pull Requests
----------------------
Run **git spr --update** to sync your whole commit stack to github and create pull requests for each commit in the stack. If a commit was amended the pull request will be updated automatically. The command outputs a list of your open pull requests and their status. **git spr -u** pushes your commits to github and creates pull requests for you, so you don't need to call git push or open pull requests manually in the UI.
Run **git spr update** to sync your whole commit stack to github and create pull requests for each commit in the stack. If a commit was amended the pull request will be updated automatically. The command outputs a list of your open pull requests and their status. **git spr update** pushes your commits to github and creates pull requests for you, so you don't need to call git push or open pull requests manually in the UI.

```shell
> git spr -u
> git spr update
[·✗✔✗] 61: Feature D
[·✗✔✗] 60: Feature C
[✔✔✔✔] 59: Feature B
Expand All @@ -113,10 +113,10 @@ Each pull request has four merge status bits signifying the request's ability to

Merging Pull Requests
---------------------
Your pull requests are stacked. Don't use the UI to merge pull requests, if you do it in the wrong order, you'll end up pushing one pull request into another, which is probably not what you want. Instead just use **git spr --merge** and you can merge all the pull requests that are mergeable in one shot.
Your pull requests are stacked. Don't use the UI to merge pull requests, if you do it in the wrong order, you'll end up pushing one pull request into another, which is probably not what you want. Instead just use **git spr merge** and you can merge all the pull requests that are mergeable in one shot.

```shell
> git spr -m
> git spr merge
MERGED #58 Feature A
MERGED #59 Feature B
[·✗✔✗] 61: Feature D
Expand Down

0 comments on commit 62db5a5

Please sign in to comment.