GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - afeld/git-plugins: a collection of custom git commands

BranchesTags
Open more actions menu

Latest commit

 

History

118 Commits
118 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
bin
bin
 
 
spec
spec
 
 
.gitignore
.gitignore
 
 
.rspec
.rspec
 
 
Gemfile
Gemfile
 
 
Guardfile
Guardfile
 
 
README.md
README.md
 
 

Repository files navigation

Git Plugins

CI

A community collection of Git plugins. Browse the scripts to see what's included.

Example workflow

A number of the plugins included in this project make the updating/branching/submitting process easier. As an example use case, if you are doing something like the GitHub Flow, your workflow for a feature might look something like this:

git fetch origin
git checkout -b feature-branch --no-track origin/master

# make some changes, add some files

git add -A
git commit -m "fixed stuff"

git push -u origin feature-branch

# open your repository on github.com, and click the button to make a new pull request

That is so much typing! Using these plugins, this can all be simplified to:

git f feature-branch

# make some changes, add some files

git ca -m "fixed stuff"
git pr

So much easier! ⚡

Setup

git clone [email protected]:afeld/git-plugins.git

Then add the following to your ~/.bash_profile (or ~/.zshrc, or whatever profile file you use):

export PATH=path/to/git-plugins/bin:$PATH

Aliases

The plugin names intentionally favor descriptiveness over terseness, but you should make shortcuts for yourself that make sense for you. You can see some examples in the [alias] section of afeld/dotfiles. To add a new shortcut:

git config --global alias.SHORT LONG

# you can then use
git SHORT

e.g.

git config --global alias.lg pretty-log

# enables
git lg

To use the workflow described above, run the following to set up the aliases:

git config --global alias.ca commit-all
git config --global alias.f create-feature-branch
git config --global alias.pr create-pull-request

See Also

  • Official GitHub CLI
  • Git Extras
  • EasyGit
  • ghi
  • git-flow
  • git-setup
  • hub
  • HubFlow
  • Legit

About

a collection of custom git commands

Resources

Readme
Activity

Stars

74 stars

Watchers

3 watching

Forks

8 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.