Skip to content

Instantly share code, notes, and snippets.

@benjaminapetersen
Forked from cfryanr/.gitconfig
Last active October 2, 2024 14:28
Show Gist options
  • Save benjaminapetersen/e02974705059f3ba47dba42d2ab6aadf to your computer and use it in GitHub Desktop.
Save benjaminapetersen/e02974705059f3ba47dba42d2ab6aadf to your computer and use it in GitHub Desktop.

Revisions

  1. benjaminapetersen revised this gist Oct 2, 2024. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -9,8 +9,8 @@
    #syntax-theme = Dracula

    [user]
    name = Ryan Richard
    email = [email protected]
    name = Benjamin A. Petersen
    email = [email protected]

    [alias]
    st = status
  2. @cfryanr cfryanr revised this gist Apr 22, 2024. 1 changed file with 6 additions and 3 deletions.
    9 changes: 6 additions & 3 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    [core]
    pager = delta
    # pager = delta

    [interactive]
    diffFilter = delta --color-only
    # diffFilter = delta --color-only

    [delta]
    side-by-side = true
    @@ -39,4 +39,7 @@
    merge = duet-merge

    [pull]
    rebase = false
    rebase = false

    [init]
    defaultBranch = main
  3. @cfryanr cfryanr created this gist Apr 26, 2021.
    42 changes: 42 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,42 @@
    [core]
    pager = delta

    [interactive]
    diffFilter = delta --color-only

    [delta]
    side-by-side = true
    #syntax-theme = Dracula

    [user]
    name = Ryan Richard
    email = [email protected]

    [alias]
    st = status
    di = diff
    ds = diff
    co = checkout
    br = branch
    sta = stash
    llog = log --date=local
    flog = log --pretty=fuller --decorate
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
    lol = log --graph --decorate --oneline
    lola = log --graph --decorate --oneline --all
    blog = log origin/master... --left-right
    fixup = commit
    squash = commit
    rum = rebase master@{u}
    unstage = reset
    ci = duet-commit
    dci = duet-commit
    drv = duet-revert
    dmg = duet-merge
    drb = rebase -i --exec 'git duet-commit --amend --reset-author'
    commit = duet-commit
    revert = duet-revert
    merge = duet-merge

    [pull]
    rebase = false