Skip to content

pwang1997/git-command-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

git-command-config

Checking existing config

git config --global --list

Editing git config

git config --global --edit

Here is some configs I am currently using:

# From git config --global --list
alias.co=checkout # git checkout => git co
alias.aa=add . # git add . => git add
alias.cam=commit --amend # git commit --amend "message" => git cam "message"
alias.cm=commit -m # git commit -m "message" => git cm "message"
alias.ss=status # git status => git ss
alias.cg=config --global # git config --global => git cg
alias.prune-remote=fetch --prune # git fetch --prune => git prune-remote
# From git config --global --edit
[alias]
        co = checkout
        aa = add .
        cam = commit --amend
        cm = commit -m
        ss = status
        cg = config --global
        prune-remote = fetch --prune

About

Some git configs that relief your git life

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published