git branch --merged master
lists branches merged into master
(git branch --merged master
列出合并到master的分支)
git branch --merged
lists branches merged into HEAD (ie tip of current branch)
(git branch --merged
列出合并到HEAD中的分支(即当前分支的尖端))
git branch --no-merged
lists branches that have not been merged
(git branch --no-merged
列出尚未合并的分支)
By default this applies to only the local branches.
(默认情况下,这仅适用于本地分支。)
The -a
flag will show both local and remote branches, and the -r
flag shows only the remote branches. (-a
标志将显示本地和远程分支, -r
标志仅显示远程分支。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…