Skip to content

Instantly share code, notes, and snippets.

@fajrif
Last active February 9, 2016 06:32
Show Gist options
  • Select an option

  • Save fajrif/b13a03bd7c3f878fd5cf to your computer and use it in GitHub Desktop.

Select an option

Save fajrif/b13a03bd7c3f878fd5cf to your computer and use it in GitHub Desktop.

Revisions

  1. Fajri Fachriansyah renamed this gist Feb 9, 2016. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. Fajri Fachriansyah revised this gist Feb 9, 2016. 1 changed file with 14 additions and 3 deletions.
    17 changes: 14 additions & 3 deletions gitconfig
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,22 @@
    [user]
    name = Fajri Fachriansyah
    email = [email protected]
    [alias]
    co = checkout
    c = config --list
    b = branch
    d = diff --color
    ds = diff --stat --color
    s = status
    l = log --graph --pretty=format:'%C(yellow)%h%Creset%C(blue)%d%Creset %C(white bold)%s%Creset %C(white dim)(by %an %ar)%Creset'
    r = remote -v
    sh = show --pretty="format:"
    l = log --graph --pretty=format:'%C(yellow)%h%Creset%C(blue)%d%Creset %C(white bold)%s%Creset %C(white dim)(by %an %ar)%Creset'
    ls = log --summary --color --oneline
    remove = rm --cached --ignore-unmatch
    resetclean = git reset --hard HEAD && git clean -fdx
    remove = rm --cached --ignore-unmatch
    resetclean = git reset --hard HEAD && git clean -fdx
    undo-commit = reset --soft HEAD^
    [apply]
    whitespace = nowarn
    [core]
    excludesfile = /Users/fajryfachriansyah/.gitignore
    editor = vim
  3. Fajri Fachriansyah revised this gist Sep 29, 2015. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions gitconfig
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,4 @@
    l = log --graph --pretty=format:'%C(yellow)%h%Creset%C(blue)%d%Creset %C(white bold)%s%Creset %C(white dim)(by %an %ar)%Creset'
    ls = log --summary --color --oneline
    remove = rm --cached --ignore-unmatch
    resetclean = git reset --hard HEAD && git clean -fdx

    $("#index_table").html("<%= escape_javascript(render("table")) %>");
    resetclean = git reset --hard HEAD && git clean -fdx
  4. Fajri Fachriansyah revised this gist Sep 29, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gitconfig
    Original file line number Diff line number Diff line change
    @@ -9,3 +9,5 @@
    ls = log --summary --color --oneline
    remove = rm --cached --ignore-unmatch
    resetclean = git reset --hard HEAD && git clean -fdx

    $("#index_table").html("<%= escape_javascript(render("table")) %>");
  5. Fajri Fachriansyah revised this gist Sep 29, 2015. 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
    @@ -5,7 +5,7 @@
    d = diff --color
    ds = diff --stat --color
    s = status
    l = log --graph --pretty=format:'%C(yellow)%h%Creset%C(blue)%d%Creset %C(white bold)%s%Creset %C(white dim)(by %an %ar)%Creset'
    l = log --graph --pretty=format:'%C(yellow)%h%Creset%C(blue)%d%Creset %C(white bold)%s%Creset %C(white dim)(by %an %ar)%Creset'
    ls = log --summary --color --oneline
    remove = rm --cached --ignore-unmatch
    remove = rm --cached --ignore-unmatch
    resetclean = git reset --hard HEAD && git clean -fdx
  6. Fajri Fachriansyah created this gist Sep 29, 2015.
    11 changes: 11 additions & 0 deletions gitconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    [alias]
    co = checkout
    c = config --list
    b = branch
    d = diff --color
    ds = diff --stat --color
    s = status
    l = log --graph --pretty=format:'%C(yellow)%h%Creset%C(blue)%d%Creset %C(white bold)%s%Creset %C(white dim)(by %an %ar)%Creset'
    ls = log --summary --color --oneline
    remove = rm --cached --ignore-unmatch
    resetclean = git reset --hard HEAD && git clean -fdx