Live data from Hacker News

Understanding Git for real by exploring the .git directory

medium.com

91–92 of 92 posts

Re: Understanding Git for real by exploring the .git directory

#91

Earlier quoted context omitted.

a couple things helped me get into a comfortable flow w/ git: realizing git stash creates a commit (accessible via git reflog show stash). v helpful for managing interrupts, and gaining confidence you're not going to lose any work. also, learning to be quick to create (and dispose of) branches, as they're just names.

> accessible via git reflog show stash You can just do "git stash list".

IIRC, standard git clients don't show you the commit sha with 'git atash list', hence the extra few chars (easily skipped w an alias). shrug
Post reply on HN