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
- Host: GitHub
- URL: https://github.com/pwang1997/git-command-config
- Owner: pwang1997
- Created: 2023-01-11T10:58:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-12T22:39:20.000Z (over 2 years ago)
- Last Synced: 2025-07-13T17:49:36.665Z (12 months ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```