Git tip 10! You're mid-feature. Someone needs a bug fixed on another branch. Don't commit half-finished work, making a mess of your history. Use git stash instead. Your changes are saved, your directory is clean, and when you come back, everything is exactly where you left it. Want to know more? My full Git Essentials course teaches all the basics. Link in first comment #git #github #gittips #devops #softwaredevelopment

Or do commit.... And then later either `git reset --soft` or `git commit --ammend`, cause I always forget about the stashes...

See more comments

To view or add a comment, sign in

Explore content categories