Git alias commands for faster easier version control
Alternatives To Gitalias
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Libgit29,156123 days ago1February 27, 2018523otherC
A cross-platform, linkable library implementation of Git that you can use in your application.
Isomorphic Git6,9631163532 months ago389July 18, 2023289mitJavaScript
A pure JavaScript implementation of git for node and browsers!
Gitoxide6,9212418 hours ago8July 22, 202373apache-2.0Rust
An idiomatic, lean, fast & safe pure Rust implementation of Git
a month ago137otherC#
Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows.
Jj3,8291a day ago10July 18, 2023169apache-2.0Rust
A Git-compatible DVCS that is both simple and powerful
Libgit2sharp2,8496421863 months ago96April 12, 2023398mitC#
Git + .NET = ❤
Vim Signify2,607
2 months ago12mitVim Script
:heavy_plus_sign: Show a diff using Vim its sign column.
10 months ago232PHP
Git-based version control for WordPress. Whoa!
Nbdime2,51310640a day ago30April 30, 202396otherPython
Tools for diffing and merging of Jupyter notebooks.
Git Sketch Plugin2,454
a year ago14mitJavaScript
:gem::octocat: A Git client generating pretty diffs built right into Sketch.
Alternatives To Gitalias
Select To Compare

Alternative Project Comparisons

Git Alias

What is Git Alias?

Git Alias is a collection of git version control alias settings that can help you work faster and better. Git Alias provides short aliases such as s for status, command aliases such as chart and churn, lookup aliases such as whois and whatis, workflow aliases such as topic-begin for feature branch development, and more.


You can use Git Alias various ways:

Follow us

You can follow us on GitHub:

Short aliases

Short aliases are for frequent commands and options:

git add:

git branch:

git commit:

git checkout:

git cherry-pick:

  • git cp = cherry-pick
  • git cpa = cherry-pick --abort
  • git cpc = cherry-pick --continue
  • git cpn = cherry-pick -n (--no-commit)
  • git cpnx = cherry-pick -n -x (--no-commit and with a message)

git diff:

git fetch:

git grep:

  • git g = grep
  • git gg = grep with our preferred settings
  • git gn = grep -n (--line-number)

git log:

git ls-files:

git merge:

git pull:

git rebase:

git reflog:

git remote:

git revert:

git show-branch:

git submodule:

git status:

git whatchanged:

Friendly aliases

Recommended helpers:

  • git initer - Initialize a repo using our recommended way i.e. with an empty rebaseable commit
  • git cloner - Clone a repo using our recommended way i.e. recursive include of submodules
  • git pruner - Prune a repo using our recommended way i.e. prune everything unreachable now
  • git repacker - Repack a repo our recommended way i.e. as Linus Torvalds describes
  • git optimizer - Optimize a repo using our recommended way i.e. by pruning and repacking

Quick highlights:

  • git chart - Show highlights chart of activity per author
  • git churn - Show log of files that have many changes
  • git summary - Show a summary of overview metrics

Branch names:

Branch commits:

Friendly plurals:


Logging & reporting:


  • git whois - Try to figure out an author's information
  • git whatis - Try to figure out an object's information

Commit details:

Add all & edit all:

Alias helpers:

Script helpers:

  • git top - Get the top level directory name
  • git exec - Execute a shell script


New repos:

Hew branches:

Saving work:

  • git archive - Create an archive file of everything in the repo
  • git snapshot - Stash a snapshot of your current working tree
  • git panic - When you're worried the world is coming to an end


Advanced aliases:

Workflow aliases

Topic branching for feature workflows:

Flow aliases:

reset & undo:

  • git reset-* - Move backwards on the commit chain; synonym for undo-*
  • git undo-* - Move backwards on the commit chain; synonym for reset-*

track & untrack:

  • git track - Start tracking from a local branch to upstream branch
  • git untrack - Stop tracking from a local branch to upstream branch

inbound & outbound:

  • git inbound - Show incoming changes compared to upstream
  • git outbound - Show outgoing changes compared to upstream

pull1 & push1:


Tooling aliases

Use gitk:

Use other version control systems:

Use graphviz:

Index of all aliases


  • Package: gitalias
  • Version: 28.0.1
  • Created: 2016-06-17T22:05:43Z
  • Updated: 2023-05-31T11:39:14Z
  • License: GPL-2.0-or-later or contact us for custom license
  • Contact: Joel Parker Henderson ([email protected])
Popular Git Projects
Popular Version Control Projects
Popular Version Control Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Version Control