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.
The Nikki Glaser Podcast
Every week comedian and infamous roaster Nikki Glaser provides a fun, fast-paced, and brutally honest look into current pop-culture and her own personal life.
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.