Skip to content

A small script to show the status of multiple git repos

Notifications You must be signed in to change notification settings

hiveground-ros-package/Git-Status

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

--- 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]

About

A small script to show the status of multiple git repos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published