Skip to content

Instantly share code, notes, and snippets.

@SamRothCA
Last active April 1, 2019 17:59
Show Gist options
  • Save SamRothCA/510bb65f54ecc7169e74 to your computer and use it in GitHub Desktop.
Save SamRothCA/510bb65f54ecc7169e74 to your computer and use it in GitHub Desktop.
Git status for repo currently open in Finder
cd "$(osascript -e 'tell application "Finder" to get the POSIX path of (target of front window as alias)')" &&
git status --short --branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment