Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Custom Git Commands

Custom git commands that can be useful if you are using git cli

Installation

$ curl -s -L https://github.com/jm-factorin/git-cmd/raw/master/git-compare > git-compare
$ chmod +x git-compare
$ sudo mv git-compare /usr/local/bin/

Usage

# Using default (current) branch
$ git compare #https://github.com/jm-factorin/git-cmd/compare/dev
# Using base branch
$ git compare master #https://github.com/jm-factorin/git-cmd/compare/master...dev
# Using base and compare branches
$ git compare base-master dev-new-branch #https://github.com/jm-factorin/git-cmd/compare/base-master...dev-new-branch

About

Custom Git CLI Command

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages