Skip to content

Commit 7100937

Browse files
committed
[FEATURE] Show branches containing a commit
1 parent 805d552 commit 7100937

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

git_cheat_sheet.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676

7777
_The reference may be a branch or a tag, note the two dots at the end_
7878

79+
* Show branches in which one commit exists
80+
81+
git branch --contains <commit ID>
82+
7983
## Show history
8084

8185
* Show all commits of current branch

0 commit comments

Comments
 (0)