practice / blog

For personal blogging
1 stars 0 forks source link

git config, alias #51

Open practice opened 6 years ago

practice commented 6 years ago
[user]
        email = <my-email>
        name = <my-name>
[core]
        editor = vim
[credential]
        helper = cache --timeout 30000
[alias]
        lg = log --graph --oneline --decorate --all
        co = checkout
        rb = rebase -i
        st = status
        cm = commit
        pl = pull
        ps = push
        lg = log --graph --abbrev-commit --decorate --format=format:'%C(cyan)%h%C(reset) - %C(green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(yellow)%d%C(reset)' --all
        ad = add
        tg = tag -n
        df = diff
        br = branch
practice commented 6 years ago

~/.gitconfig