An open API service indexing awesome lists of open source software.

https://github.com/pwang1997/git-command-config

Some git configs that relief your git life
https://github.com/pwang1997/git-command-config

Last synced: 5 months ago
JSON representation

Some git configs that relief your git life

Awesome Lists containing this project

README

          

# 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
```