Skip to content

Instantly share code, notes, and snippets.

@JagCesar
Last active September 16, 2020 19:33
Show Gist options
  • Select an option

  • Save JagCesar/98d3e1d931fc3f040218a4e37f125d24 to your computer and use it in GitHub Desktop.

Select an option

Save JagCesar/98d3e1d931fc3f040218a4e37f125d24 to your computer and use it in GitHub Desktop.

Revisions

  1. César Pinto Castillo revised this gist Sep 16, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .gitconfig
    Original file line number Diff line number Diff line change
    @@ -46,5 +46,5 @@
    required = true
    clean = git-lfs clean -- %f
    smudge = git-lfs smudge -- %f
    process = git-lfs filter-process
    process = git-lfs filter-process

  2. César Pinto Castillo revised this gist Nov 6, 2017. 2 changed files with 1 addition and 1 deletion.
    File renamed without changes.
    2 changes: 1 addition & 1 deletion .gitconfig
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    [user]
    name = César Pinto Castillo
    name = JagCesar
    email = cesar@jagcesar.se
    [color]
    ui = true
  3. César Pinto Castillo revised this gist Jan 9, 2017. 2 changed files with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions .git-commit-template
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@

    #------------------------------------------------|

    #----------------------------------------------------------------------|
    File renamed without changes.
  4. César Pinto Castillo created this gist Jan 9, 2017.
    50 changes: 50 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,50 @@
    [user]
    name = César Pinto Castillo
    email = cesar@jagcesar.se
    [color]
    ui = true
    [color "branch"]
    current = yellow reverse
    local = yellow
    remote = green
    [color "diff"]
    meta = yellow bold
    frag = magenta bold
    old = red bold
    new = green bold
    [color "status"]
    added = yellow
    changed = green
    untracked = cyan
    [color]
    ui = true
    [color "diff"]
    whitespace = red reverse
    [core]
    whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
    [alias]
    st = status
    ci = commit
    br = branch
    co = checkout
    df = diff
    dc = diff --cached
    lg = log -p
    lol = log --graph --decorate --pretty=oneline --abbrev-commit
    lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
    ls = ls-files

    # Show files ignored by git:
    ign = ls-files -o -i --exclude-standard
    [push]
    default = simple
    [commit]
    template = ~/.git-commit-template
    [core]
    # editor = "subl -n -w"
    [filter "lfs"]
    required = true
    clean = git-lfs clean -- %f
    smudge = git-lfs smudge -- %f
    process = git-lfs filter-process