https://github.com/jezen/git-shmart
The Git commands you know and love, but smarter!
https://github.com/jezen/git-shmart
bash git github shell
Last synced: 6 months ago
JSON representation
The Git commands you know and love, but smarter!
- Host: GitHub
- URL: https://github.com/jezen/git-shmart
- Owner: jezen
- Created: 2016-09-15T09:05:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-24T08:05:26.000Z (over 8 years ago)
- Last Synced: 2025-03-30T22:12:07.293Z (8 months ago)
- Topics: bash, git, github, shell
- Language: Shell
- Homepage:
- Size: 98.6 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
git-shmart
A small collection of Git wrappers. Inspired by [geelen/git-smart][0], but
implemented in Bash.
### Motivation
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.
#### TODO
- Implement `shmart-merge` command
- Add to homebrew for easier installation
### Usage
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:
```sh
git shmart-log
git shmart-pull
```
For convenience, you should add the _git-shmart_ functions as aliases in your
`~/.gitconfig` file.
```sh
# ~/.gitconfig
[alias]
sl = shmart-log
sp = shmart-pull
```
### Testing
You'll need to have `shunit2` installed. Install it with:
```sh
# on MacOS
brew install shunit2
# ...or on Debian
apt-get install shunit2
```
Then to run the tests:
```sh
make test
```
[0]: https://github.com/geelen/git-smart