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.Dateline NBC
Current and classic episodes, featuring compelling true-crime mysteries, powerful documentaries and in-depth investigations. Follow now to get the latest episodes of Dateline NBC completely free, or subscribe to Dateline Premium for ad-free listening and exclusive bonus content: DatelinePremium.com
24/7 News: The Latest
The latest news in 4 minutes updated every hour, every day.
Therapy Gecko
An unlicensed lizard psychologist travels the universe talking to strangers about absolutely nothing. TO CALL THE GECKO: follow me on https://www.twitch.tv/lyleforever to get a notification for when I am taking calls. I am usually live Mondays, Wednesdays, and Fridays but lately a lot of other times too. I am a gecko.