[git-users] getting changes since a specified commit

2012-01-27 Thread Kevin Wilson
Hi, I have a git tree on one site, and a copy of it (from two weeks ago) on a second site. I cannot access the first site from the second one. The git tree on one site had some commits since I made a backup of it for the second site. I can of course backup the first tree and override the second one

Re: [git-users] getting changes since a specified commit

2012-01-27 Thread Chris Stone
Sounds like you want to create a patch file. Command would be git diff. I have not worked with patch files much beyond applying them. Can any one else fill in the details? On Jan 27, 2012 11:53 AM, "Kevin Wilson" wrote: > Hi, > I have a git tree on one site, and a copy of it (from two weeks ago)

[git-users] Re: getting changes since a specified commit

2012-01-27 Thread Ryan Hodson
Kevin, Try running the following in the first site's repository: git format-patch where is the ID of the commit common to both sites. This should generate a patch file in the first site's working directory that contain any new commits. Copy this file (or files, for multiple commits) into the s

Re: [git-users] getting changes since a specified commit

2012-01-27 Thread Konstantin Khomoutov
On Fri, Jan 27, 2012 at 08:53:05PM +0200, Kevin Wilson wrote: > I have a git tree on one site, and a copy of it (from two weeks ago) > on a second site. I cannot access the > first site from the second one. The git tree on one site had some > commits since I made a backup > of it for the second si