A small collection of Git wrappers. Inspired by geelen/git-smart, but implemented in Bash.
I use git-smart all the time, but I sometimes have to reinstall it if I switch Ruby versions. I don't think this tool needs Ruby as a dependency.
Also, there are some issues with the original, and the original project seems to be no longer maintained.
- Implement
shmart-merge
command - Add to homebrew for easier installation
Clone this repository somewhere on your machine, and then add the git-shmart
directory to your path. The executables should be automatically available to
Git.
Upon successful installation, you will have the following commands available:
git shmart-log
git shmart-pull
For convenience, you should add the git-shmart functions as aliases in your
~/.gitconfig
file.
# ~/.gitconfig
[alias]
sl = shmart-log
sp = shmart-pull
You'll need to have shunit2
installed. Install it with:
# on MacOS
brew install shunit2
# ...or on Debian
apt-get install shunit2
Then to run the tests:
make test