We are committed to continuing our deep dive into Git from the Bottom Up by John Wiegley, while Allen puts too much thought into onions, Michael still doesn’t understand proper nouns, and Joe is out hat shopping.
The full show notes for this episode are available at https://www.codingblocks.net/episode192.
git branch -v
.git reset --hard commitHash
– This is dangerous. --hard
says to erase all changes in the working tree, whether they were registered for a check-in or not and reset HEAD
to point to the commitHash
.git checkout commitHash
– This is a safer option, because files changed in the working tree are preserved. However, adding the -f
parameter acts similar as the previous command, except that it doesn’t change the branch’s HEAD
, and instead only changes the working tree.git diff HEAD^1:somefile HEAD^2:somefile
.Dateline NBC
Current and classic episodes, featuring compelling true-crime mysteries, powerful documentaries and in-depth investigations.
Death, Sex & Money
Anna Sale explores the big questions and hard choices that are often left out of polite conversation.
Stuff You Should Know
If you've ever wanted to know about champagne, satanism, the Stonewall Uprising, chaos theory, LSD, El Nino, true crime and Rosa Parks, then look no further. Josh and Chuck have you covered.