File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ Rebase source branch onto target branch and forcefully push the rebased branch t
2323** Usage**
2424
2525```
26- ggit-base SOURCE [TARGET] [REMOTE]
26+ ggit-base [ SOURCE] [TARGET] [REMOTE]
2727ggit-base SOURCE... TARGET REMOTE
2828
2929Params:
30- SOURCE Branch to be rebased
30+ SOURCE Branch to be rebased. Defaults to current branch in the first form.
3131TARGET Rebase onto this branch. Defaults to 'main' in the first form.
3232REMOTE Remote repository to pull and push. Defaults to 'origin' in the first form.
3333```
@@ -79,10 +79,10 @@ Merge the source branch into the target branch (performs a fast-forward merge).
7979** Usage**
8080
8181```
82- ggit-merge SOURCE [TARGET] [REMOTE]
82+ ggit-merge [ SOURCE] [TARGET] [REMOTE]
8383
8484Params:
85- SOURCE Branch to be merged
85+ SOURCE Branch to be merged. Defaults to current branch.
8686TARGET Branch to merge into. Defaults to 'main'.
8787REMOTE Remote repository to pull and push. Defaults to 'origin'.
8888```
@@ -210,10 +210,10 @@ This way you can have the same commits (and history) as remote.
210210** Usage**
211211
212212```
213- ggit-update BRANCH [REMOTE]
213+ ggit-update [ BRANCH] [REMOTE]
214214
215215Params:
216- BRANCH Branch to update
216+ BRANCH Branch to update. Defaults to current branch.
217217REMOTE Remote repository, defaults to 'origin'.
218218```
219219
You can’t perform that action at this time.
0 commit comments