Hi Jude,

On Thu, Jul 28, 2011 at 11:39 PM, Bernt Hansen <be...@norang.ca> wrote:
> If that happens and you get a conflict you don't know how to deal with
> and you're willing to reedit your Makefile changes (which you would have
> to do anyway if you get a fresh clone) then you can just nuke everything
> with
>
> $ git checkout master
> $ git reset --hard origin/master
>
> and then redo your Makefile changes instead of recloning.
>

If you are willing to commit your changes to the Makefile in your local
repository you can do this:

$ <edit> Makefile # here master = origin/master
$ git commit -i Makefile -m "My changes" # master = origin/master+1
$ git pull --rebase --stat

-- 
Suvayu

Open source is the future. It sets us free.

Reply via email to