aboutsummaryrefslogtreecommitdiffstats
path: root/.gitconfig
Commit message (Collapse)AuthorAgeFilesLines
* .gitconfig: Add default Git `push.default` configHaralan Dobrev2014-06-141-0/+7
| | | | | | Use the backwards-compatible `matching` setting by default. On machines with newer Git installations, it avoids the annoying Git warning, and it can be overriden to use `simple` instead in `~/.extra`. Closes #400.
* .gitconfig: Tweak `diff` colorsMathias Bynens2014-06-081-2/+2
|
* .gitconfig: Remove `push.default`Mathias Bynens2014-06-081-4/+0
| | | | | | This was causing issues on servers that don’t have an up-to-date Git installation. As a workaround, I decided to remove this from `.gitconfig` and add this to `~/.extra` for my laptop only: git config --global push.default simple
* .gitconfig: Improve configurationHaralan Dobrev2014-06-071-7/+23
| | | | Closes #366.
* Remove some things that I don’t useMathias Bynens2014-06-071-0/+38
| | | | This commit drops some aliases, functions, and settings from the project that I wasn’t using at all. It also cleans up some of the remaining code.
* .gitconfig: Make sure `go` never overrides branchesThanasis Polychronakis2014-05-071-1/+1
| | | | Closes #357. Thanks to @yukideluxe!
* .gitconfig: Explicitly disable `indent-with-non-tab`Luveen Rupchand Wadhwani2014-03-051-3/+2
| | | | | | | | Don’t use `indent-with-non-tab`. This config flag is PERNICIOUS. If turned on, Git won’t tell you that you indented your code incorrectly. Instead, when it is pushing your changes to your remote repo, Git will silently convert any consecutive 8-space strings it sees into tab characters. This can be highly undesirable, especially if you collaborate with a team that expects the code to be indented using spaces instead of tabs. At the very least, the comment above this line should very clearly explain the fact that `indent-with-non-tab` does more than advertised in the `git-config man page (https://www.kernel.org/pub/software/scm/git/docs/git-config.html). Closes #351.
* .gitconfig: Add `dm` aliasJarrett Drouillard2013-12-131-0/+2
| | | | | | `git dm` deletes local branches that have been merged with master. Closes #309.
* .gitconfig: Add aliases to find branches/tags/commitssolygen2013-12-081-0/+8
| | | | Closes #304.
* .gitconfig: Make `git rebase` safer on OS XMathias Bynens2013-11-261-0/+3
| | | | | | See <http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/>. Closes #291.
* .gitconfig: Add note about whitespace defaultsKevin Suttle2013-09-191-1/+4
| | | | Closes #256.
* .gitconfig: Add comment about `color.ui` in Git ≥ 1.8.4Sindre Sorhus2013-09-071-2/+4
| | | | Ref. #239.
* .gitconfig: Remove global remote branchDean Sofer2013-08-081-5/+0
| | | | | | This causes duplicate remotes to be created, potentially leading Git to throw errors when `push`ing. Closes #215.
* .gitconfig: Improve display of astral Unicode symbols in diffsMathias Bynens2013-07-251-1/+1
| | | | Thanks to @holman for the tip: https://speakerdeck.com/holman/more-git-and-github-secrets?slide=38
* .gitconfig: Tweak `l` aliasMathias Bynens2013-06-071-2/+2
|
* .gitconfig: Use `push.default = matching`Mathias Bynens2013-05-091-1/+1
| | | | I couldn’t get used to `simple`.
* .gitconfig: Remove the destructive `undopush` aliasMathias Bynens2013-03-171-2/+0
|
* Use newlines at EOF consistentlyMathias Bynens2013-03-101-1/+1
|
* .gitconfig: Set `push.default = simple`Mathias Bynens2012-11-191-1/+4
| | | | This will be the default in Git v2.
* .gitconfig: Explain `diff`-related aliasesMathias Bynens2012-09-011-1/+2
|
* .gitconfig: Tweak `diff` aliasesDominik Porada2012-08-311-1/+2
|
* .gitconfig: Add `reb` aliasDominik Porada2012-08-271-0/+2
| | | | Stolen from https://github.com/porada/dotfiles/commit/05162b585b2e9cd6a92f12e1c61e1f5687104a17.
* .gitconfig: Tweak `ca` aliasMathias Bynens2012-06-051-1/+1
| | | | Thanks to @necolas! https://github.com/mathiasbynens/dotfiles/commit/15d4c9583d66be40a497706134b637e8c1f10ae6#commitcomment-1416521
* .gitconfig: Show the diff when writing a commit messageMathias Bynens2012-06-041-1/+1
| | | | Thanks to @miketaylr: http://twitter.com/miketaylr/status/209688450868326400
* .gitconfig: Add `tags`, `branches` and `remotes` aliasesMathias Bynens2012-06-041-0/+4
|
* .gitconfig: Add `credit` alias to quickly change the author of the latest commitMathias Bynens2012-05-231-0/+2
| | | | Inspired by @holman’s https://github.com/holman/dotfiles/blob/master/bin/git-credit.
* .gitconfig: Make `git ca` remove deleted files, tooMathias Bynens2012-04-231-1/+1
|
* .gitconfig: Use `origin` as the default remote on the `master` branchMathias Bynens2012-03-131-0/+5
| | | | | | Apparently there are cases where this is not the default: http://stackoverflow.com/q/658885/96656 Hat tip to @cowboy.
* .gitconfig: Add `d` aliasMathias Bynens2012-02-191-0/+2
|
* .gitconfig: Add `c` alias which clones a repository including all submodulesMathias Bynens2012-02-161-0/+2
|
* .gitconfig: Add `go` and `ca` aliasesMathias Bynens2012-02-141-0/+4
|
* .gitconfig: Add commentsMathias Bynens2012-02-141-3/+17
|
* Move `undopush` alias to `.gitconfig`, as suggested by @necolasMathias Bynens2012-02-141-0/+5
| | | | Also, add some other Git aliases while we’re at it.
* Typo.Mathias Bynens2011-09-261-1/+1
|
* Fix .gitconfig formatting (use tabs instead of spaces).Mathias Bynens2011-09-261-23/+23
|
* Whitespace cleanup.Mathias Bynens2011-09-051-1/+1
|
* Initial commit.Mathias Bynens2011-09-051-0/+35