[git-users] Re: Sync with a Master

2010-01-26 Thread Trans
On Jan 7, 1:22 am, David Aguilar dav...@gmail.com wrote: 1. git remote add upstream git://github.com/upstream/project.git 2. git fetch upstream 3. git reset --hard upstream/master 4. git push origin +master 1. Add a reference to the repo you forked from 2. Fetch its branches 3. Reset

[git-users] Re: Sync with a Master

2010-01-06 Thread Trans
On Jan 6, 9:20 am, Michael P. Soulier msoul...@digitaltorque.ca wrote: On 05/01/10 Trans said: So I've cloned a repo, which is a fork of another repo. If I want to update my repo to match the original (and ditch any changes I may have made), how do I do it? Did you follow any workflow

Re: [git-users] Re: Sync with a Master

2010-01-06 Thread Michael P. Soulier
On 06/01/10 Trans said: I am using github. So I have my own fork. So it's more involved then that. I would have to delete my fork, then refork it and then reclone it. I was hoping for a simple way to update my repo without having to do all that. As you haven't answered my question I'll

Re: [git-users] Re: Sync with a Master

2010-01-06 Thread Konstantin Khomoutov
On Wed, Jan 06, 2010 at 06:34:37AM -0800, Trans wrote: So I've cloned a repo, which is a fork of another repo. If I want to update my repo to match the original (and ditch any changes I may have made), how do I do it? Did you follow any workflow guidelines and make your changes on separate

Re: [git-users] Re: Sync with a Master

2010-01-06 Thread Konstantin Khomoutov
On Wed, Jan 06, 2010 at 06:34:37AM -0800, Trans wrote: [...] I am using github. So I have my own fork. So it's more involved then that. I would have to delete my fork, then refork it and then reclone it. I was hoping for a simple way to update my repo without having to do all that. Correction: