Skip to content

pablorc/git-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-helpers

A simple library of git custom commands

Commands

Working with a repo and a private fork:

  • git push2: Pushes to both remotes at once
  • git sync: Syncs master between repositories and rebases current branch to the last version of master
  • git upstream: Creates in the desired remote(origin by default) the current branch
  • git squash: Opens an interactive rebase between you current branch and master

Setup

  1. Clone folder
  2. Add folder to PATH
  3. Copy envs.example.sh to envs.sh and fill with your data
  4. Double-check that git-* files have exec permission
  5. Use it!

TODO

  • Support for -h
  • Improve squash to do an actual complete squash

About

Additional commands for git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages