Skip to content

Instantly share code, notes, and snippets.

@Appendme
Created April 25, 2024 03:19
Show Gist options
  • Select an option

  • Save Appendme/8e33a44183b906790976b1fc844651ba to your computer and use it in GitHub Desktop.

Select an option

Save Appendme/8e33a44183b906790976b1fc844651ba to your computer and use it in GitHub Desktop.

Revisions

  1. Appendme created this gist Apr 25, 2024.
    24 changes: 24 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    [core]
    autocrlf = input
    commentChar = ";"
    [alias]
    ss = status
    cc = checkout
    lon = log --oneline
    ds = diff --staged
    df = diff
    rs = restore --staged
    b = branch
    bd = branch -D
    cam = commit --amend
    puf = push --force
    cp = cherry-pick
    bm = branch -M
    mm = checkout master
    chmod = update-index --chmod=
    chmodx = update-index --chmod=+x
    sp = status --porcelain=2
    [push]
    autoSetupRemote = true
    [credential]
    helper = wincred