https://github.com/dnaeon/git-helpers
Git helpers for change deployment
https://github.com/dnaeon/git-helpers
Last synced: 4 months ago
JSON representation
Git helpers for change deployment
- Host: GitHub
- URL: https://github.com/dnaeon/git-helpers
- Owner: dnaeon
- Created: 2012-07-05T07:58:40.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-07-20T10:56:56.000Z (over 13 years ago)
- Last Synced: 2024-05-01T12:35:44.315Z (over 1 year ago)
- Language: Shell
- Size: 133 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Git helpers
*git-helpers* is a collection of shell functions which purpose is to
automate the process of deploying changes from one branch to another easier using patches.
## Commands supported
The following commands are currently supported by the *git-helpers*:
apply Applies a patch to the specified branch
init Perform initial setup of the helpers
new Starts off a new change
pull Performs a pull on the Cfengine servers
revert Reverts a change from the specified branch
squash Creates a patch from a squashed merge against a specified branch
sync Syncs a branch using rebase
verify Verifies a patch against the specified branch
## Installing the helpers
In order to install the helpers follow the instructions below.
Clone the Git repository.
Add to your shell profile, e.g. ~/.bashrc a line to source the helpers
source /path/to/git-helpers/git-helpers.sh
And that's it.
## Using the helpers
In order to use the helpers execute the `git change` command, which is a Git alias for the helpers.
To get usage information about a subcommand execute `git change help `