git stash untracked file(s)
A newish (and handy) git feature I came across not that long ago is the ability to stash untracked files without having to stage them first. All you have to do is add the -u flag onto the stash command.
git stash -u
This feature became available as of git version 1.7.7.
Written by Kyle Bolton
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#