Skip to content

factorin-j/git-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages