From 3fdc3bdc586e999b123154c5de43e4d992a1ea2f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 11 May 2011 12:11:31 -0400 Subject: [PATCH] `git cherry` and remote branch removal hints in Git/notes.org. --- posts/Git/notes.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 -- 2.26.2