---
# System prepended metadata

title: .gitconfig

---

###### tags: 'git'

# .gitconfig 

```
[user]
    name = Paul Krisadaolarn
    email = pauly.k@gmail.com
[alias]
        co = checkout
        cob = checkout -b
        coo = !git fetch && git checkout
        br = branch
        brd = branch -d
        brD = branch -D
        merged = branch --merged
        st = status
        aa = add -A .
        cm = commit -m
        aacm = !git add -A . && git commit -m
        cp = cherry-pick
        amend = commit --amend -m
        lg = log --oneline
        glog = git log --oneline --decorate --graph --all

[core]
        editor = nano
[init]
        default = main
        defaultBranch = main
```