Skip to content
/ got Public

Bash wrapper for git to get a quick overview of your local repositories

License

Notifications You must be signed in to change notification settings

ltOgt/got

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is a simple wrapper for git status written in bash.

Why this?

I am constantly working with a large number of git repositories, and I find it to be very tedious to have to look at each of them individually to keep them up to date.

What does it do?

You can

  • register as many repositories as you want. The paths to them are simply stored in and retreived from a file.

  • then use status to get the status for each repository (See example [1]). (Fetche remote + status)

  • get a list of the registered repositories.

  • remove a repository from the list (or simply edit the file storing them).

  • go to the repository in a new terminal (set up to work with urxvt).

got (-r | register) [-p <PATH>]   registers repo
got (-s | status) [-c] [-q]       [--quiet] status for registered repos [--control]
got (-l | list)                   list registered repos
got remove [<NUMBER>]             remove registration
got go [<NUMBER>]                 open repo in new terminal

Show me some examples

Ok:

[0] register

omni@base:~$ got -r --path=/home/omni/repos/got
Found /home/omni/repos/got/.git
Adding to tracked repos...

[1] status

omni@base:~$ got -s
==================================================

[ /home/omni ] (0)
( dotfiles ):

Fetching origin

On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

==================================================

[ /home/omni/repos/got ] (1)
( got ):

Fetching origin

On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

	new file:   test_file


==================================================
Report:
""""""
[1] /home/omni/repos/got:
    new file:   test_file

[2] quiet status

omni@base:~$ got -s -q
==================================================
Report:
""""""
[1] /home/omni/repos/got:
    new file:   test_file

Note

this might not fit your needs, but feel free to expand on it.

About

Bash wrapper for git to get a quick overview of your local repositories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published