diff --git a/docs/git/git.md b/docs/git/git.md index a17d88f..aefc372 100644 --- a/docs/git/git.md +++ b/docs/git/git.md @@ -194,7 +194,8 @@ It's generally recommended creating annotated tags so it's possible to have all ### Branching And Merging `git branch`: shows branches -`git branch -v`: show branch + last commit +`git branch -vv`: show branch + last commit + remote status +`git branch --merged [--remote]`: show branches (remote) that have been merged into current one (needs same history, merge squash/rebase break history) `git branch `: create new branch `git checkout -b `: create a branch and switches to it, same as `git branch ; git checkout `