Re: Git error

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

 



On Wed, 2009-01-28 at 18:37 +0000, Luciano Rocha wrote:
> On Wed, Jan 28, 2009 at 10:29:18PM +0530, Himanshu Chauhan wrote:
> > Hi,
> > 
> > I am updating my tree with git-pull.
> > But I am getting this error.
> > 
> > scripts/package/Makefile: needs update
> > error: Entry 'scripts/package/Makefile' not uptodate. Cannot merge.
> > 
> > How can I fix this?
> 
> You have local changes to scripts/package/Makefile
> 
> $ git status
> $ git diff
> 
> And then, if you're satisfied, do:
> $ git commit scripts/package/Makefile
> 
> Or clear your changes:
> $ git checkout scripts/package/Makefile
> 
> Then git pull should work (don't use the dash form (git-pull) from now
> on, it's been deprecated for some time, and removed in recent git).
> 

Thanks, That works!

 - Himanshu


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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