Re: [git-users] Sync with a Master

2010-01-06 Thread Michael P. Soulier
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 guidelines and make your changes on separate
branches from master? If not your simplest option is to delete your cloned
repo and reclone it.

Otherwise, just delete the branches you no longer need and pull changes from
upstream master to yours. This won't sync other branches from upstream but you
can make that happen too, especially if you made them tracking branches.

I think you have some reading to do...

Mike
-- 
Michael P. Soulier 
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein


signature.asc
Description: Digital signature


[git-users] Sync with a Master

2010-01-05 Thread Trans
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?
-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.