Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Opens all your currently uncommitted files from `$PWD` in Atom, ready for a shiny new day of productive work
# I've got this as an alias, but you could just save it to ~/bin etc
#
# You don't have to use atom either, it would work just as well with subl or vim or whatever,
# only the pun's not as good then...
atom . $(git status --porcelain | cut -d" " -f3 | xargs -I {} echo './'{} | xargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment