Skip to content

Commit

Permalink
docs: note commands that extend git primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
jlegrone committed Oct 27, 2017
1 parent 4b9e683 commit 344f75b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ $ git reword 27395436382cd897fd957635bd42cf78788f11b1

Perform an interactive rebase starting from the specified commit.

> Accepts all options that can be passed to [git-rebase](https://git-scm.com/docs/git-rebase).
> Caution: This command rewrites history, and may introduce conflicts during rebase.
```bash
Expand All @@ -165,7 +167,9 @@ Remove the current branch from the remote `origin`.

Force push to the upstream branch, but receive a warning if new commits were added to the remote since your last checkout.

For more information, see http://weiqingtoh.github.io/force-with-lease/
For more information, see http://weiqingtoh.github.io/force-with-lease/.

> Accepts all options that can be passed to [git-push](https://git-scm.com/docs/git-push).
<hr>

Expand All @@ -179,6 +183,8 @@ Delete local branches that have been fully merged into `master` or `develop`.

Checkout a new branch. Shorthand for `git checkout -b <branch-name>`.

> Accepts all options that can be passed to [git-checkout](https://git-scm.com/docs/git-checkout).
```bash
$ git cb test/my-proof-of-concept
# now on branch test/my-proof-of-concept
Expand Down

0 comments on commit 344f75b

Please sign in to comment.