-
Notifications
You must be signed in to change notification settings - Fork 35
/
readme
34 lines (25 loc) · 1.14 KB
/
readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- Get Status ---
Ever wanted to get the status of repos in multiple sub directories? Yeah, me
too. So I knocked this up.
-- Installation --
Copy the file to /usr/bin
%> cp show_status /usr/bin (or /usr/sbin)
Give it execute permissions
%> chmod +x /usr/bin/show_status
-- Usage --
Usage: show_status [options]
Show Status is awesome. If you tell it a directory to look in, it'll scan
through all the sub dirs looking for a .git directory. When it finds one it'll
look to see if there are any changes and let you know. It can also push and
pull to/from a remote location (like github.com) (but only if there are no
changes.) Contact [email protected] for any support.
Options:
-h, --help show this help message and exit
-d DIRNAME, --dir=DIRNAME
The directory to parse sub dirs from
-v, --verbose Show the full detail of git status
-r REMOTE, --remote=REMOTE
Push to the master (remotename:branchname)
-p PULL, --pull=PULL Pull from the master (remotename:branchname)
-- Warranties/Guarantees --
None, you're on your own. If you'd like some help, mail me on [email protected]