Mailing List Archive


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

Re: [tlug] Git: bring in a file from another branch



Josh Glover writes:

 > Right. Almost every git command needs a reference, or silently applies
 > a default. I guess "reset" defaults to HEAD^.

No, like everywhere else it defaults to HEAD.  That's why "git reset
--hard" isn't good enough for Darren, something is committing in the
meantime.  git merge or git pull will do that, for example.



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links