aleix's blog

git-cherry-base

15 November 2012 1:43 am (git | guile)

If you use git, you might find yourself wanting to merge a huge list of commits into a branch, but you might not want all of them. git-rebase already helps with this task but it becomes less convenient when you have lots of commits as you may not remember all of them and also because it doesn't show you the contents of each commit

git-cherry-base is an interactive script (written in Guile) that lets you choose which commits you'd like to merge and even which parts of the commit you want. Given a list of revisions (obtained from git-rev-list) it will show the contents for each commit and will let you choose if you want to merge the commit, skip it or merge only parts of it.

Usage: git-cherry-base rev-file

I wrote it some months ago as I couldn't find any other command line tool to do this and, well, it was just a good excuse to hack something in Scheme.

4 responses

  1. Essay writing company says:

    I value the exertion you made to share the information about this subject. The theme here I found was truly powerful for the readers and the point which I was inquiring about for a long time.We give you online help and support.Thank a lot for this post that was very interesting. Keep posting like those amazing posts, this is really awesome.

  2. MarkWalton says:

    Meanwhile, I have been learning Git and made sense of some thought. The thing is each store ought to contain one item. What's more, indeed, every customer has its own particular item, regardless of a similar base code. Principle repo would then remain clean from customer branches and maintained in git-stream for instance, and on forks, assignment writers for every customer we could have aced for generation and branches for discharge, testing, hotfix and so on.

  3. Pay Someone To Do My Essay says:

    This is great work buddy as you relate the mind of human with elements of parachute that truly work in astonishing ways.

  4. expert seo says:

    My friend recommended this blog and he was totally right keep up the fantastic work! expert seo

Leave a Reply