Skip to content

Instantly share code, notes, and snippets.

@genyrosk
Last active June 10, 2023 23:17
Show Gist options
  • Select an option

  • Save genyrosk/32148212110948dc256ee53bb114cc72 to your computer and use it in GitHub Desktop.

Select an option

Save genyrosk/32148212110948dc256ee53bb114cc72 to your computer and use it in GitHub Desktop.

Revisions

  1. genyrosk revised this gist Jun 10, 2023. 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
    @@ -4,8 +4,8 @@
    lg = !"git lg2"

    [user]
    email = e.roskach@gmail.com
    name = genyrosk
    email = youremail@gmail.com
    name = username
    signingKey =

    [commit]
  2. genyrosk created this gist Nov 3, 2022.
    18 changes: 18 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    [alias]
    lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
    lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
    lg = !"git lg2"

    [user]
    email = e.roskach@gmail.com
    name = genyrosk
    signingKey =

    [commit]
    gpgsign = true

    [gpg]
    program = gpg

    [includeIf "gitdir:~/dev/company-x-dir/"]
    path = ~/dev/company-x-dir/.gitconfig