Re: git-pull conflict - how to solve it?

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

 



Brandon Philips wrote:
On 05:15 Tue 05 Feb 2008, Robert P. J. Day wrote:
  
i'm currently up to date WRT git and i haven't seen that kind of
merge conflict.  if all else fails, just remove your entire working
copy (leaving the .git directory where it is) with:

$ rm -rf *

do the pull, then recheck everything out with:

$ git checkout -f

that might be brute force, but it should work.  if you *still* have a
conflict, then you must have made some changes and committed them or
something similar.
    

Why wouldn't you just use git-reset --hard ?  No need to blow everything
away :)

Cheers,

	Brandon

  

Tried before, but got errors as well....anyway...in doing all these stuff....my aim is shortest time possible .... and if going through all these errors and more errors expected in future....i rather restored back from backup.....the latter is done in 10minutes....Thank you for the support!!!


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux