Skip to content

Instantly share code, notes, and snippets.

@lkptrzk
Created November 9, 2014 14:57
Show Gist options
  • Save lkptrzk/0e5cba870b0218c83f71 to your computer and use it in GitHub Desktop.
Save lkptrzk/0e5cba870b0218c83f71 to your computer and use it in GitHub Desktop.
check state of a git repo
#!/bin/bash
git pull && \
git remote prune origin && \
git status && \
git stash list && \
git branch -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment