Git Product home page Git Product logo

gogit's Introduction

Build Status

GoGit

GoGit is a simple to use Go script allowing you to conveniently update all your local git repositories with the latest changes. You decide whether you want to fetch or pull. Making use of Go's channels, found repositories will be refreshed in a non-blocking, parallel manner, which allows big amounts of repositories to be updated in no time.

Installation

Download the script:

go get github.com/h-marvin/GoGit

Usage

Just go ahead and call the script with the options you like. Example:

GoGit -recursive=true

Available flags

To customize the script at execution for your needs, there are up to four flags that can be added.

-path allows to specify the root folder from where the script will start looking for git repos (defaults to user home). Multiple root locations can be added by separating them with a colon.

-filter allows filtering for a certain value to occur in the .git/config (e.g. enterprise git address)

-recursive specifies whether or not only direct children of -path will be checked or the entire subtree

-fetch if set to true a fetch --prune will be performed instead of a pull

gogit's People

Contributors

h-marvin avatar

Stargazers

Till Hohenberger avatar  avatar Timo E aus E avatar Ajay Kemparaj avatar

Watchers

 avatar

Forkers

timoe

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.