Skip to content

The Git commands you know and love, but smarter!

Notifications You must be signed in to change notification settings

jezen/git-shmart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-shmart

A small collection of Git wrappers. Inspired by geelen/git-smart, 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:

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

Testing

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

About

The Git commands you know and love, but smarter!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published