Re: git pull != svn update ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



leniviy wrote:
> Please someone explain:
> I cloned wine.git 3 weeks ago; yesterday I did "git pull".
> 
> The command
> 
> Code:
> 
> git reset --hard origin
> 
> 
> 
> resets the repo to the state it was on Feb 6 and that's not what I want.
> 
> I want only my own commits to be reset by this command, like it was until I did "git pull".
> 
> In other words I want to sync the local repo with the remote, so it would be like erasing the repo and doing "git fetch" again.

Reset --hard origin, then pull?






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux