GithubHelp home page GithubHelp logo

ltogt / got Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11 KB

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

License: MIT License

Shell 63.68% Python 36.32%

got's Introduction

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.

got's People

Contributors

ltogt avatar

Stargazers

Nathan Chere avatar

Watchers

James Cloos avatar

got's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.