Skip to content
Ernesto Buenrostro edited this page May 8, 2016 · 2 revisions

Welcome to the Gitconfig wiki!

git tg

git ci

Diff commands

git dfchk

git dc

git ds

git df

git dfw

git dfnp

git w

git wdiff

git y

git st

git dftool

git dfp4

git dfvim

Runing gitk with git

git k

git ka

git kme

Adding files

git track

git added

git addp

git cp

Cherry pick

git co

Checkout a branch

git nb

Create and checkout the branch

git nbb

Create and checkout a new branch without a parent

git br

Get information of the current branches

git nbs

This alias lets you create a new branch giving a name with white spaces and it will change them into _.

  • Name for the branch to create.
  • Optional name of the branch to fork from, if not parent branch name provided it will fork the new branch from the current branch.
git nbs <branch name> [<parent branch>]

Example:

git nbs "292-Create new function nbs"

It will create the new branch based on the current one with a name like:

"292-Create_new_function_nbs"

Or you can create a new branch based on a different one

Example:

git nbs "292-Create new function nbs" master

git brsearchall

git brsearch

git cobr

git br-tracking

git br-no-tracking

git prune-me

Merge aliases

git mff

git mrp

git plr

git snapshot

git unstash

Log commands

git lg

git lol

git lola

git lolc

git lolac

git lolf

git lbrl

git lbra

git log-me

git ls

git incomming

git incomming-p

git outgoing

Ignoring files

git ign

git ignored

git ignore

git unignore

git amend

git amendfile

git amendall

git amend-msg

git fetchall

git unstage

git uncommit

git killspace

git killcomments

git addcomments

git panic

git repo-size