Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

HighwayofLife/git-scripts

Repository files navigation

Additional Git Commands

Contains additional useful git commands.

Requirements

Installation

Clone this repo and add the directory to your PATH.

git clone https://github.com/highwayoflife/git-scripts ~/.git-scripts
echo "export PATH="${HOME}/.git-scripts:$PATH" >> ~/.zshrc

Commands

  • git activity - Pretty-print log activity across all branches.
  • git merge-pr <PR-NUMBER> - Merge a desired Pull Request to Master
  • git merge-branch - Pull-Request Merge current Branch to Master
  • git create-pr - Shortcut to push branch and create a pull-request

Helpful Aliases

Add the following aliases to .bashrc, .bash_profile, or .zshrc

alias pr="git create-pr"
alias push="git push-branch"
alias merge="git merge-branch"
alias pr-merge="git merge-pr"

Contributors

License

MIT

About

Additional Useful Git Commands

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /