I suggest use git stash to stash your local changes.

git stash

will create a temp stash space to collect all your local
modifications, when your merge complete, use

git stash pop

to get your changes back.

On May 1, 4:06 am, Dave L <[email protected]> wrote:
> I have just started to use git and I am getting this error:
>
> error: Entry 'config/environment.rb' not uptodate. Cannot merge.
>
> I am trying to sync up two computers to use a central repository on
> git and I think I am getting this error b/c I have changed something
> in the environment.rb file on the computer I am trying to pull to.
> How do I go about ignoring this change and overwriting with a pull
> from git?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to