From: W. Trevor King Date: Wed, 11 May 2011 16:11:31 +0000 (-0400) Subject: `git cherry` and remote branch removal hints in Git/notes.org. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3fdc3bdc586e999b123154c5de43e4d992a1ea2f;p=blog.git `git cherry` and remote branch removal hints in Git/notes.org. --- diff --git a/posts/Git/notes.org b/posts/Git/notes.org index ef57a62..d66f172 100644 --- a/posts/Git/notes.org +++ b/posts/Git/notes.org @@ -739,6 +739,23 @@ previous commit Now you are wiser, because you know that it happened 940 revisions before v0.99. +** List unmerged commits + +To see what's outstanding in a given branch + + : $ git cherry [-v] [ [ []]] + +The =-v= option prints summaries as well as the usual commit hashes. + +** Remove a remote branch + +If you want to delete a branch from a repository to which you only +have push access, use: + + : git push repository :branch + +after deleting the branch in your local repository. + * Troubleshooting ** Git commit hangs with no output