GitAlias / gitalias

Git alias commands for faster easier version control
2.45k stars 328 forks source link
bash git github gitlab shell zsh

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.

Setup

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 diff:

git fetch:

git grep:

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:

Quick highlights:

Branch names:

Branch commits:

Friendly plurals:

Undo:

Logging & reporting:

Lookups:

Commit details:

Add all & edit all:

Alias helpers:

Script helpers:

Remotes:

New repos:

Hew branches:

Saving work:

Misc:

Advanced aliases:

Workflow aliases

Topic branching for feature workflows:

Flow aliases:

reset & undo:

track & untrack:

inbound & outbound:

pull1 & push1:

Misc:

Tooling aliases

Use gitk:

Use other version control systems:

Use graphviz:

Index of all aliases

Tracking