Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. If you're like me you have a dir like `~/Workspace/Github` where all your git repos live. I often find myself making a change in a repo, getting side tracked and ending up in another repo, or off doing something else all together. After a while I end up with several repos with modifications. This script helps me pick up where I left off by checking the status of all my repos, instead of having to check each one individually.
  2.  
  3. Usage:
  4.  
  5. ```bash
  6. git-status [directory]
  7. ```
  8.  
  9. This will run `git status` on each repo under the directory specified. If called with no directory provided it will default to the current directory.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement