Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 stash list', hence the extra few chars (easily skipped w an alias) are worthwhile. shrug




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: