Skip to content

Commit

Permalink
Typo fix, whitespace cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
m-o-e authored and nvie committed Nov 2, 2019
1 parent 79ee437 commit cbdfe4e
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 @@ -16,7 +16,7 @@ Helper tools to make everyday life with Git much easier. Commands marked with
Everyday helpful commands:

* ⭐️ [git-cleanup](#git-cleanup)
* ⭐️ [git-cleanup-squashes](#git-cleanup-squashes)
* ⭐️ [git-cleanup-squashed](#git-cleanup-squashed)
* [git-current-branch](#git-current-branch)
* ⭐️ [git-fixup](#git-fixup)
* ⭐️ [git-fixup-with](#git-fixup-with)
Expand Down Expand Up @@ -205,7 +205,7 @@ Tests if X is merged into Y:
$ git contains X Y # does X contain Y?
$ git is-ancestor X Y # is X an ancestor of Y?

**CAVEAT:**
**CAVEAT:**
Even though they might look like opposites, `X contains Y` does not mean `not
(X is-ancestor Y)`, since (1) X and Y can point to the same commit, or the
branches may have no common history and thus be unrelated completely.
Expand Down Expand Up @@ -247,7 +247,7 @@ Keeps other branches lying around. Removes branches both locally and in the
origin remote. Will be most conservative with deletions.


### git cleanup-squashes
### git cleanup-squashed

Deletes all branches that have already been merged into master by means of
squash-merging them. Squashing them generally is a destructive operation.
Expand Down Expand Up @@ -310,7 +310,7 @@ Ever been on a branch and really wanted to quickly commit a change to
a different branch? Given that this is possible without merge conflicts, git
commit-to will allow you to do so, without checking out the branch necessarily.

$ git branch
$ git branch
master
* mybranch
$ git status
Expand Down

0 comments on commit cbdfe4e

Please sign in to comment.