jpartain89 / git-autopull

An auto-installing, semi-complicated wrapper script around @icefox's Git-Map https://github.com/icefox/git-map.git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git-AutoPull Build Status

Git-Auto

I have two scripts that expand upon @icefox's git-map script:

git-auto and git-autopull

git-auto is for quickly adding, commiting (with a simple, short commit message) and pushing.

There are plans on adding the ability to customize the commit message per-call of the command. For now, if you want a different boilerplate message, you can get in the script and change it.

git-autopull is for those people (like me) who keeps all of their git repo parent directories on the same level on their computers. If you want to just run through all of the repo's and pull down the updates, git-autopull loops through all the git repo directories, pulling, fetch --alling, and submodule update --init --recursiveing.

Installation

To install the scripts - for now, I plan on having a real install script - all you have to do is run it from within the git cloned location. It'll auto-link to /usr/local/bin directory.

git clone https://github.com/jpartain89/git-autopull.git --recursive
cd git-autopull
./git-autopull
./git-auto

Make sure the --recursive flag is listed, to include cloning the git-map repo.

Usage

git autopull: It can be run with or without the - in the command.

Its primarily meant to be run from within a git repo directory, but you can combine other git command line flags along with autopull:

git -C ~/example/repo autopull will run autopull in the ~/example/repo directory level.

git auto requires at least a . to operate, because it requires a file location to operate.

About

An auto-installing, semi-complicated wrapper script around @icefox's Git-Map https://github.com/icefox/git-map.git

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%