Re: [git-users] git diff when file has been renamed

2013-02-15 Thread Bob Hiestand
On Thu, Feb 14, 2013 at 8:02 PM, Matt Neuburg mattne...@gmail.com wrote: My files have all been renamed, so to diff one of them to an earlier commit I'm saying this sort of thing: git diff HEAD:newname cb3e0a5fa8:oldname I have to keep a list of the new names and old names beside me at

Re: [git-users] git diff when file has been renamed

2013-02-15 Thread Bob Hiestand
On Fri, Feb 15, 2013 at 10:31 AM, Matt Neuburg mattne...@gmail.com wrote: Have you tried the '-M' option to diff? Yes, have you? It seems to have no effect when you supply an explicit filename - presumably *because* you are supplying an explicit filename. That's exactly my point. I have;

Re: [git-users] Re: how to add a new commit to the head of a branch, so that the branches have identical content?

2014-05-21 Thread Bob Hiestand
It seems strange to use git (or other VCS) to store build products. To your question, the simplest approach would be something like this: git checkout dst rm -rf * git checkout src . run build process git commit You can get a little more fancy if you want to reference the src branch as a