Skip to content

Instantly share code, notes, and snippets.

@stanwmusic
Forked from jaygooby/up-and-atom
Created December 3, 2019 02:15
Show Gist options
  • Save stanwmusic/6ac764ea784b75a7704e493c29e809a1 to your computer and use it in GitHub Desktop.
Save stanwmusic/6ac764ea784b75a7704e493c29e809a1 to your computer and use it in GitHub Desktop.
opens all your currently uncommitted files from the 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