Author:
erics, March 18th, 2019
|
git log {path_and_file} git checkout {commit_hash} -- {path_and_file} git checkout 8c7eae3f518bb7fd98eb6e8344270f02065d83ee -- myFile.txt |
~or~
|
git checkout master -- theSubDir/theFile.json |
Categories: How-To's, Technology Tags: Checkout, commit, git, recover, Restore, Revert, specific
|
No comments
Author:
erics, August 2nd, 2018
git checkout -f
Categories: How-To's, Technology Tags: Branch, Checkout, Discard, git, git branch, git checkout, howto, Revert, tips, Undo
|
No comments
Author:
erics, November 15th, 2012
git rev-parse –abbrev-ref HEAD
Categories: How-To's, Technology Tags: Branch, Checked Out, Checkout, Current, git, howto, tips
|
No comments