Showing posts with label git. Show all posts
Showing posts with label git. Show all posts
Thursday, July 9, 2015
Tuesday, December 13, 2011
git discard changes to a file
git checkout -f -- "filename"Note, there is a space between -- and "filename".
Other methods:
git checkout -f
=========================================
To discard local commits:
git reset --hard origin/master
Tuesday, December 6, 2011
Sunday, September 11, 2011
The newbie's guide to hacking the Linux kernel
http://tuxradar.com/content/newbies-guide-hacking-linux-kernel
git book:
http://book.git-scm.com/index.html
HOWTO: Create and submit your first Linux kernel patch using GIT
http://linux.koolsolutions.com/2011/02/26/howto-create-and-submit-your-first-linux-kernel-patch/
git merge and conflict:
http://genomewiki.ucsc.edu/index.php/Resolving_merge_conflicts_in_Git
http://blog.wuwon.id.au/2010/09/painless-merge-conflict-resolution-in.html
http://gitready.com/advanced/2009/02/25/keep-either-file-in-merge-conflicts.html
git book:
http://book.git-scm.com/index.html
HOWTO: Create and submit your first Linux kernel patch using GIT
http://linux.koolsolutions.com/2011/02/26/howto-create-and-submit-your-first-linux-kernel-patch/
Git - SVN crash Course:
git merge and conflict:
http://genomewiki.ucsc.edu/index.php/Resolving_merge_conflicts_in_Git
http://blog.wuwon.id.au/2010/09/painless-merge-conflict-resolution-in.html
http://gitready.com/advanced/2009/02/25/keep-either-file-in-merge-conflicts.html
Subscribe to:
Posts (Atom)