Code Monkey home page Code Monkey logo

git-pull's Introduction

Git Pull

This simple BASH script allows you to cycle through a directory of Git projects and run a git pull against each of them, without needing to go into each directory and manually issue the command.

This allows you to quickly sync local versions of your Git projects with your remote servers, or for automated usage like scheduled backups.

Contributors

Support

This BASH script has been tested to work on the following:

  • Debian 11 Bullseye
  • Git 2.30

To find your version of Git.

git --version

Whilst these versions have been tested your mileage may vary. There is very little reason for the script to not work if you are using an older/newer version of Debian or another flavour of Linux.

Getting Started

The simplest way to get started is to clone the repository:

git clone [email protected]:AlexWinder/git-pull.git

Once you have a copy of the script you can then make use of it on your system.

Call the script as you would any other bash script.

./path/to/git-pull/git-pull.sh

Arguments

The script has a number of named arguments to assist with its uses and allow you to override parts of the script to meet your requirements:

  • --help - Show a help guide on the script. If used then no other parameters will be considered.
  • --directory - The directory under which your Git projects are located. By default if you do not specify the --directory flag then your current working directory will be used.

If you pass no arguments to the script then by default it will search inside of your current working directory.

License

This project is licensed under the MIT License.

git-pull's People

Contributors

alexwinder avatar

Watchers

 avatar

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.