Macrox / git-alias

A bunch of alias settings that improve using experience for git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git-alias

A bunch of alias settings that improve using experience for git

Quick Install

/bin/bash -c "$(curl -fsSL https://github.com/macrox/git-alias/raw/master/main.sh)"

Or

git clone https://github.com/macrox/git-alias.git
cd git-alias
sh main.sh

Usage

st

As same as git status

git st

co

As same as git checkout

git co existing-branch
git co -b new-branch

ci

As same as git commit

git ci
git ci -m "chore: Commit with message"

br

As same as git branch

git br
git br -D useless-branch

unstage

As same as git reset HEAD.

Unstage uncommit changes of specified file(s)

git unstage .
git unstage specified-file

ll

As same as git log -l

Show last commit log

git ll

lg

Show pretty log

git lg

About

A bunch of alias settings that improve using experience for git

License:MIT License


Languages

Language:Shell 100.0%