Skip to content

Instantly share code, notes, and snippets.

@miqui
Forked from tdd/gitconfig.ini
Created February 2, 2016 19:40
Show Gist options
  • Select an option

  • Save miqui/913999d28a0d3c3dc114 to your computer and use it in GitHub Desktop.

Select an option

Save miqui/913999d28a0d3c3dc114 to your computer and use it in GitHub Desktop.

Revisions

  1. @tdd tdd revised this gist Dec 15, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gitconfig.ini
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@
    ci = commit
    lg = log --graph --date=relative --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset'
    oops = commit --amend --no-edit
    review-local = lg @{push}..
    review-local = "!git lg @{push}.."
    # Or pre 2.5, as we didn't differential push and upstream in shorthands:
    # review-local = lg @{upstream}..
    [core]
  2. @tdd tdd revised this gist Nov 26, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gitconfig.ini
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@
    [alias]
    st = status
    ci = commit
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'
    lg = log --graph --date=relative --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset'
    oops = commit --amend --no-edit
    review-local = lg @{push}..
    # Or pre 2.5, as we didn't differential push and upstream in shorthands:
  3. @tdd tdd revised this gist Sep 30, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gitconfig.ini
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@
    oops = commit --amend --no-edit
    review-local = lg @{push}..
    # Or pre 2.5, as we didn't differential push and upstream in shorthands:
    review-local = lg @{upstream}..
    # review-local = lg @{upstream}..
    [core]
    # Don't paginate output by default
    pager = cat
  4. @tdd tdd revised this gist Sep 30, 2015. 1 changed file with 18 additions and 4 deletions.
    22 changes: 18 additions & 4 deletions gitconfig.ini
    Original file line number Diff line number Diff line change
    @@ -11,12 +11,15 @@
    ci = commit
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'
    oops = commit --amend --no-edit
    review-local = lg @{push}..
    # Or pre 2.5, as we didn't differential push and upstream in shorthands:
    review-local = lg @{upstream}..
    [core]
    # Don't paginate output by default
    pager = cat
    #
    # Out of luck: on Windows w/o msysGit? You may have Notepad++…
    # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
    # editor = 'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
    #
    # If you want to use Sublime Text 2's subl wrapper:
    # editor = subl -w
    @@ -25,10 +28,10 @@
    # editor = atom --wait
    #
    # Sublime Text 2 on Windows:
    # editor = "'c:/program files/sublime text 2/sublime_text.exe' -w"
    # editor = 'c:/Program Files (x86)/Sublime Text 2/sublime_text.exe' -w
    #
    # Sublime Text 3 on Windows:
    # editor = "'c:/program files/sublime text 3/subl.exe' -w"
    # editor = 'c:/Program Files/Sublime Text 3/subl.exe' -w
    #
    # Don't consider trailing space change as a cause for merge conflicts
    whitespace = -trailing-space
    @@ -50,6 +53,8 @@
    [log]
    # Use abbrev SHAs whenever possible/relevant instead of full 40 chars
    abbrevCommit = true
    # Automatically --follow when given a single path
    follow = true
    [merge]
    # Display common-ancestor blocks in conflict hunks
    conflictStyle = diff3
    @@ -58,6 +63,8 @@
    keepBackup = false
    # Clean up temp files created by merge tools on tool exit
    keepTemporaries = false
    # Put the temp files in a dedicated dir anyway
    writeToTemp = true
    # Auto-accept file prompts when launching merge tools
    prompt = false
    [pull]
    @@ -86,4 +93,11 @@
    upstream = cyan
    [tag]
    # Sort tags as version numbers whenever applicable, so 1.10.2 is AFTER 1.2.0.
    sort = version:refname
    sort = version:refname
    [versionsort]
    prereleaseSuffix = -pre
    prereleaseSuffix = .pre
    prereleaseSuffix = -beta
    prereleaseSuffix = .beta
    prereleaseSuffix = -rc
    prereleaseSuffix = .rc
  5. @tdd tdd revised this gist Aug 28, 2015. 1 changed file with 21 additions and 0 deletions.
    21 changes: 21 additions & 0 deletions gitconfig.ini
    Original file line number Diff line number Diff line change
    @@ -4,13 +4,15 @@
    name = Your Full Name
    email = your@email.tld
    [color]
    # Enable colors in color-supporting terminals
    ui = auto
    [alias]
    st = status
    ci = commit
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'
    oops = commit --amend --no-edit
    [core]
    # Don't paginate output by default
    pager = cat
    #
    # Out of luck: on Windows w/o msysGit? You may have Notepad++…
    @@ -28,23 +30,35 @@
    # Sublime Text 3 on Windows:
    # editor = "'c:/program files/sublime text 3/subl.exe' -w"
    #
    # Don't consider trailing space change as a cause for merge conflicts
    whitespace = -trailing-space
    [diff]
    # Use better, descriptive initials (c, i, w) instead of a/b.
    mnemonicPrefix = true
    # Show renames/moves as such
    renames = true
    # When using --word-diff, assume --word-diff-regex=.
    wordRegex = .
    # Display submodule-related information (commit listings)
    submodule = log
    [fetch]
    # Auto-fetch submodule changes (sadly, won't auto-update)
    recurseSubmodules = on-demand
    [grep]
    # Consider most regexes to be ERE
    extendedRegexp = true
    [log]
    # Use abbrev SHAs whenever possible/relevant instead of full 40 chars
    abbrevCommit = true
    [merge]
    # Display common-ancestor blocks in conflict hunks
    conflictStyle = diff3
    [mergetool]
    # Clean up backup files created by merge tools on tool exit
    keepBackup = false
    # Clean up temp files created by merge tools on tool exit
    keepTemporaries = false
    # Auto-accept file prompts when launching merge tools
    prompt = false
    [pull]
    # This is GREAT… when you know what you're doing and are careful
    @@ -54,15 +68,22 @@
    # auto-rebasing on pulls, is only available from 1.8.5 onwards.
    rebase = preserve
    [push]
    # Default push should only push the current branch to its push target, regardless of its remote name
    default = upstream
    # When pushing, also push tags whose commit-ishs are now reachable upstream
    followTags = true
    [rerere]
    # If, like me, you like rerere, uncomment these
    # autoupdate = true
    # enabled = true
    [status]
    # Display submodule rev change summaries in status
    submoduleSummary = true
    # Recursively traverse untracked directories to display all contents
    showUntrackedFiles = all
    [color "branch"]
    # Blue on black is hard to read in git branch -vv: use cyan instead
    upstream = cyan
    [tag]
    # Sort tags as version numbers whenever applicable, so 1.10.2 is AFTER 1.2.0.
    sort = version:refname
  6. @tdd tdd revised this gist Jul 16, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gitconfig.ini
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    # A mettre dans ~/.gitconfig ou ~/.config/git/config
    # Put this in your ~/.gitconfig or ~/.config/git/config
    # Windows users: "~" is your profile's home directory, e.g. C:\Users\<YourName>
    [user]
    name = Your Full Name
    email = your@email.tld
  7. @tdd tdd renamed this gist Jul 16, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  8. @tdd tdd renamed this gist Jul 16, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  9. @tdd tdd revised this gist Jul 16, 2015. 1 changed file with 14 additions and 5 deletions.
    19 changes: 14 additions & 5 deletions Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    # À mettre dans ~/.gitconfig ou ~/.config/git/config
    [user]
    name = Ton Nom
    email = ton@email.tld
    # A mettre dans ~/.gitconfig ou ~/.config/git/config
    [user]
    name = Your Full Name
    email = your@email.tld
    [color]
    ui = auto
    [alias]
    @@ -18,6 +18,15 @@
    # If you want to use Sublime Text 2's subl wrapper:
    # editor = subl -w
    #
    # Or Atom, perhaps:
    # editor = atom --wait
    #
    # Sublime Text 2 on Windows:
    # editor = "'c:/program files/sublime text 2/sublime_text.exe' -w"
    #
    # Sublime Text 3 on Windows:
    # editor = "'c:/program files/sublime text 3/subl.exe' -w"
    #
    whitespace = -trailing-space
    [diff]
    mnemonicPrefix = true
    @@ -55,4 +64,4 @@
    [color "branch"]
    upstream = cyan
    [tag]
    sort = version:refname
    sort = version:refname
  10. @tdd tdd revised this gist May 13, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,7 @@
    [push]
    default = upstream
    [rerere]
    # If, like me, you like rerere, decomment these
    # If, like me, you like rerere, uncomment these
    # autoupdate = true
    # enabled = true
    [status]
  11. @tdd tdd revised this gist Mar 13, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -23,6 +23,7 @@
    mnemonicPrefix = true
    renames = true
    wordRegex = .
    submodule = log
    [fetch]
    recurseSubmodules = on-demand
    [grep]
  12. @tdd tdd revised this gist Jan 30, 2015. 1 changed file with 41 additions and 42 deletions.
    83 changes: 41 additions & 42 deletions Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -1,58 +1,57 @@
    # À mettre dans ~/.gitconfig ou ~/.config/git/config

    [user]
    name = Ton Nom
    email = ton@email.tld
    [user]
    name = Ton Nom
    email = ton@email.tld
    [color]
    ui = auto
    ui = auto
    [alias]
    st = status
    ci = commit
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'
    oops = commit --amend --no-edit
    st = status
    ci = commit
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'
    oops = commit --amend --no-edit
    [core]
    pager = cat
    #
    # Out of luck: on Windows w/o msysGit? You may have Notepad++…
    # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
    #
    # If you want to use Sublime Text 2's subl wrapper:
    # editor = subl -w
    #
    whitespace = -trailing-space
    pager = cat
    #
    # Out of luck: on Windows w/o msysGit? You may have Notepad++…
    # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
    #
    # If you want to use Sublime Text 2's subl wrapper:
    # editor = subl -w
    #
    whitespace = -trailing-space
    [diff]
    mnemonicPrefix = true
    renames = true
    wordRegex = .
    mnemonicPrefix = true
    renames = true
    wordRegex = .
    [fetch]
    recurseSubmodules = on-demand
    recurseSubmodules = on-demand
    [grep]
    extendedRegexp = true
    extendedRegexp = true
    [log]
    abbrevCommit = true
    abbrevCommit = true
    [merge]
    conflictStyle = diff3
    conflictStyle = diff3
    [mergetool]
    keepBackup = false
    keepTemporaries = false
    prompt = false
    keepBackup = false
    keepTemporaries = false
    prompt = false
    [pull]
    # This is GREAT… when you know what you're doing and are careful
    # not to pull --no-rebase over a local line containing a true merge.
    # rebase = true
    # WARNING! This option, which does away with the one gotcha of
    # auto-rebasing on pulls, is only available from 1.8.5 onwards.
    rebase = preserve
    # This is GREAT… when you know what you're doing and are careful
    # not to pull --no-rebase over a local line containing a true merge.
    # rebase = true
    # WARNING! This option, which does away with the one gotcha of
    # auto-rebasing on pulls, is only available from 1.8.5 onwards.
    rebase = preserve
    [push]
    default = upstream
    default = upstream
    [rerere]
    # If, like me, you like rerere, decomment these
    # autoupdate = true
    # enabled = true
    # If, like me, you like rerere, decomment these
    # autoupdate = true
    # enabled = true
    [status]
    submoduleSummary = true
    showUntrackedFiles = all
    submoduleSummary = true
    showUntrackedFiles = all
    [color "branch"]
    upstream = cyan
    upstream = cyan
    [tag]
    sort = version:refname
    sort = version:refname
  13. @tdd tdd revised this gist Oct 17, 2014. 1 changed file with 44 additions and 36 deletions.
    80 changes: 44 additions & 36 deletions Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -1,50 +1,58 @@
    # À mettre dans ~/.gitconfig ou ~/.config/git/config

    [user]
    name = Ton Nom
    email = ton@email.tld
    name = Ton Nom
    email = ton@email.tld
    [color]
    ui = auto
    ui = auto
    [alias]
    st = status
    ci = commit
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'
    st = status
    ci = commit
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'
    oops = commit --amend --no-edit
    [core]
    pager = cat
    #
    # Out of luck: on Windows w/o msysGit? You may have Notepad++…
    # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
    #
    # If you want to use Sublime Text 2's subl wrapper:
    # editor = subl -w
    #
    whitespace = -trailing-space
    pager = cat
    #
    # Out of luck: on Windows w/o msysGit? You may have Notepad++…
    # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
    #
    # If you want to use Sublime Text 2's subl wrapper:
    # editor = subl -w
    #
    whitespace = -trailing-space
    [diff]
    mnemonicPrefix = true
    wordRegex = .
    mnemonicPrefix = true
    renames = true
    wordRegex = .
    [fetch]
    recurseSubmodules = on-demand
    recurseSubmodules = on-demand
    [grep]
    extendedRegexp = true
    extendedRegexp = true
    [log]
    abbrevCommit = true
    abbrevCommit = true
    [merge]
    conflictStyle = diff3
    conflictStyle = diff3
    [mergetool]
    keepBackup = false
    keepTemporaries = false
    prompt = false
    keepBackup = false
    keepTemporaries = false
    prompt = false
    [pull]
    # This is GREAT… when you know what you're doing and are careful
    # not to pull --no-rebase over a local line containing a true merge.
    # rebase = true
    # WARNING! This option, which does away with the one gotcha of
    # auto-rebasing on pulls, is only available from 1.8.5 onwards.
    rebase = preserve
    # This is GREAT… when you know what you're doing and are careful
    # not to pull --no-rebase over a local line containing a true merge.
    # rebase = true
    # WARNING! This option, which does away with the one gotcha of
    # auto-rebasing on pulls, is only available from 1.8.5 onwards.
    rebase = preserve
    [push]
    default = upstream
    default = upstream
    [rerere]
    # If, like me, you like rerere, decomment these
    # autoupdate = true
    # enabled = true
    # If, like me, you like rerere, decomment these
    # autoupdate = true
    # enabled = true
    [status]
    submoduleSummary = true
    showUntrackedFiles = all
    submoduleSummary = true
    showUntrackedFiles = all
    [color "branch"]
    upstream = cyan
    [tag]
    sort = version:refname
  14. @tdd tdd revised this gist Jul 3, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -46,4 +46,5 @@
    # autoupdate = true
    # enabled = true
    [status]
    submoduleSummary = true
    submoduleSummary = true
    showUntrackedFiles = all
  15. @tdd tdd revised this gist Feb 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -37,7 +37,7 @@
    # not to pull --no-rebase over a local line containing a true merge.
    # rebase = true
    # WARNING! This option, which does away with the one gotcha of
    # auto-rebasing on pulls, is only available from 1.9.0 onwards.
    # auto-rebasing on pulls, is only available from 1.8.5 onwards.
    rebase = preserve
    [push]
    default = upstream
  16. @tdd tdd revised this gist Feb 27, 2014. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -36,6 +36,9 @@
    # This is GREAT… when you know what you're doing and are careful
    # not to pull --no-rebase over a local line containing a true merge.
    # rebase = true
    # WARNING! This option, which does away with the one gotcha of
    # auto-rebasing on pulls, is only available from 1.9.0 onwards.
    rebase = preserve
    [push]
    default = upstream
    [rerere]
  17. @tdd tdd revised this gist Oct 24, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@
    [alias]
    st = status
    ci = commit
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset'
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'
    [core]
    pager = cat
    #
  18. @tdd tdd revised this gist Apr 3, 2013. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -33,7 +33,9 @@
    keepTemporaries = false
    prompt = false
    [pull]
    rebase = true
    # This is GREAT… when you know what you're doing and are careful
    # not to pull --no-rebase over a local line containing a true merge.
    # rebase = true
    [push]
    default = upstream
    [rerere]
  19. @tdd tdd revised this gist Mar 8, 2013. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -9,10 +9,13 @@
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset'
    [core]
    pager = cat
    # Pas de bol et sous Windows sans msysGit ? Supposons que tu as tout de même Notepad++…
    #
    # Out of luck: on Windows w/o msysGit? You may have Notepad++…
    # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
    #
    # If you want to use Sublime Text 2's subl wrapper:
    # editor = subl -w
    #
    whitespace = -trailing-space
    [diff]
    mnemonicPrefix = true
    @@ -33,5 +36,9 @@
    rebase = true
    [push]
    default = upstream
    [rerere]
    # If, like me, you like rerere, decomment these
    # autoupdate = true
    # enabled = true
    [status]
    submoduleSummary = true
  20. @tdd tdd revised this gist Jan 30, 2013. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,7 @@
    # editor = subl -w
    whitespace = -trailing-space
    [diff]
    mnemonicPrefix = true
    wordRegex = .
    [fetch]
    recurseSubmodules = on-demand
  21. @tdd tdd revised this gist Jan 30, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset'
    [core]
    pager = cat
    # Pas de bol et sous Windows ? Supposons que tu as tout de même Notepad++…
    # Pas de bol et sous Windows sans msysGit ? Supposons que tu as tout de même Notepad++…
    # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
    # If you want to use Sublime Text 2's subl wrapper:
    # editor = subl -w
  22. @tdd tdd revised this gist Jan 30, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@
    # Pas de bol et sous Windows ? Supposons que tu as tout de même Notepad++…
    # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
    # If you want to use Sublime Text 2's subl wrapper:
    # editor = 'subl -w'
    # editor = subl -w
    whitespace = -trailing-space
    [diff]
    wordRegex = .
  23. @tdd tdd revised this gist Jan 30, 2013. 1 changed file with 27 additions and 8 deletions.
    35 changes: 27 additions & 8 deletions Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -2,16 +2,35 @@
    name = Ton Nom
    email = ton@email.tld
    [color]
    diff = auto
    status = auto
    branch = auto
    ui = auto
    [alias]
    st = status
    ci = commit
    co = checkout
    fp = format-patch
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset'
    [core]
    pager = cat
    # Pas de bol et sous Windows ? Supposons que tu as tout de même Notepad++…
    # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
    # Pas de bol et sous Windows ? Supposons que tu as tout de même Notepad++…
    # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
    # If you want to use Sublime Text 2's subl wrapper:
    # editor = 'subl -w'
    whitespace = -trailing-space
    [diff]
    wordRegex = .
    [fetch]
    recurseSubmodules = on-demand
    [grep]
    extendedRegexp = true
    [log]
    abbrevCommit = true
    [merge]
    conflictStyle = diff3
    [mergetool]
    keepBackup = false
    keepTemporaries = false
    prompt = false
    [pull]
    rebase = true
    [push]
    default = upstream
    [status]
    submoduleSummary = true
  24. @tdd tdd revised this gist Jan 26, 2012. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -12,4 +12,6 @@
    fp = format-patch
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative
    [core]
    pager = cat
    pager = cat
    # Pas de bol et sous Windows ? Supposons que tu as tout de même Notepad++…
    # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
  25. @tdd tdd created this gist Jul 10, 2010.
    15 changes: 15 additions & 0 deletions Config Git globale qui va bien
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    [user]
    name = Ton Nom
    email = ton@email.tld
    [color]
    diff = auto
    status = auto
    branch = auto
    [alias]
    st = status
    ci = commit
    co = checkout
    fp = format-patch
    lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative
    [core]
    pager = cat