Skip to content
/ gg Public

GG speeds up the creation of those pesky single commit merge requests by combining several (Git) commands into one.

License

Notifications You must be signed in to change notification settings

Nicasso/gg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GG License: GPL v3

GG speeds up the creation of those pesky single commit merge requests by combining several (Git) commands into one.

It currently supports Github, Gitlab, and Bitbucket merge requests (or pull requests depending on the platform).

Written example including the commit message:

➜ gg feature/typo-in-readme "Fix a typo in the README.md"

Written example where you can add the commit message in your favourite text editor:

➜ gg feature/typo-in-readme

Demo:

Demo

Contents

  1. Requirements
  2. Installations
  3. Updating
  4. Uninstall
  5. How it works
  6. To-do
  7. License

Requirements

  • Git

Installation

On macOS or Linux, you can install GG via Homebrew:

brew tap nicasso/gg
brew install gg

Updating

brew update && brew upgrade nicasso/gg/gg

Uninstall

To remove GG:

brew uninstall gg
brew untap nicasso/gg

How it works

GG combines multiple (Git) commands for you, for faster and easier single commit merge requests.

  1. git checkout First it creates a new branch with the provided name;
  2. git commit Then it creates the commit with the provided commit message;
  3. git push After that it pushes to the created branch;
  4. open Then it looks for the url used for creating a new merge request in the response of the git push command and opens that page in your browser;
  5. git checkout Finally it does a checkout back to the repository you started from;

To-do

Nothing I can think of for now. If you have any suggestions, please open an issue.

License GNU General Public License V3

Project License can be found here.

About

GG speeds up the creation of those pesky single commit merge requests by combining several (Git) commands into one.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages