Commit graph

25 commits

Author SHA1 Message Date
8e048f3a65 [UPDATE][GIT] Remove unused aliases 2021-01-27 15:00:44 +01:00
cf779c41dc [ADD][GIT] Prune branches and tags on fetch 2020-12-12 14:12:42 +01:00
f21c57ded3 [UPDATE][GIT] Use main as default branch name 2020-12-12 14:12:42 +01:00
d6e18ae3ec [ADD][GIT] More files to ignore 2020-12-12 14:12:42 +01:00
6c106f6170 [ADD][GIT] Include email configuration
I do not wish to version control my email configuration itself.
2020-12-12 14:12:42 +01:00
488453993e [UPDATE][GIT] Use personal mail domain 2020-12-12 14:12:42 +01:00
537e88320a [FIX][GIT] Alias to fixup skips other fixups 2020-12-12 14:12:42 +01:00
6296ba2187 [ADD][GIT] Alias to fixup last commit on file 2020-12-12 14:12:42 +01:00
e0e5f22bb2 [ADD][GIT] Use EPITA identity for relevant repos 2020-12-12 14:12:42 +01:00
1b12a8e1c9 [UPDATE][GIT] Ignore GDB history files 2020-12-12 14:12:42 +01:00
c6b49eb750 [UPDATE][GIT] Ignore compilation database files 2020-12-12 14:12:42 +01:00
5fc613a7c0 [ADD][GIT] Alias to push to new branch & track it 2020-12-12 14:12:42 +01:00
bbbac941ce [UPDATE][GIT] Ignore Python-related files 2020-12-12 14:12:42 +01:00
df7220c155 [ADD][GIT] Ignore localrc scripts 2020-12-12 14:12:42 +01:00
83d3ee0624 [UPDATE][GIT] Use tab-based indent in gitconfig
When you use `git config --global ...` to write to this file, it uses
tabs to indent the configuration options. This makes the file more
consistent with Git's way of writing the configuration.
2020-12-12 14:12:42 +01:00
51ef52513e [ADD][GIT] Alias related to 'assume-unchanged' 2020-12-12 14:12:41 +01:00
8a9cc1f98e [UPDATE][GIT] Use XDG_CONFIG_HOME scheme
Git supports looking for its configuration in
$XDG_CONFIG_HOME/git/config and a global ignore file in
$XDG_CONFIG_HOME/git/ignore in recent versions.
2020-12-12 14:12:41 +01:00
a7bdded5c6 [ADD][GIT] Alias m4 to vimdiff 4-window view
Sometimes it is useful to also have the base file accessible when
merging branches. This view still has the local file on the left and the
remote branch on the right, with the base in the middle and the result
at the bottom.

The d1o/d2o/d3o take from the local/base/remote for the current file.
2019-10-19 05:46:29 +02:00
4e6821a0f2 [ADD][GIT] Use vim-fugitive as default mergetool
I really like the way vim-fugitive show a merge conflict by having our
local index on the left (the target), and the remote changes on the
right (what we're trying to merge with our branch). The result is
obviously the file in the middle.

The d2o and d3o mappings take from local/remote for the current chunk.
2019-10-19 05:46:29 +02:00
9b71074511 [UPDATE][GIT] Re-order configuration file
I want the core and the user settings on top, all but the alias sections
and sections added by plug-ins to be in alphabetical order, then the
aliases, followed by plug-in related settings (such as git-lfs).
2019-10-19 05:46:29 +02:00
81ee5d3f67 [ADD][GIT] Use patience diff by default
The patience diff usually results in better patches than the default
myers algorithm.
2019-10-19 05:46:29 +02:00
826db6d2de [ADD][GIT] Better diff colors
I like having some colors for the meta-information shown during
diff operations.

Using the `diff-hightlight` script, you can get character-level
highlights of your diffs (just like GitHub and GitLab).
2019-10-19 05:46:29 +02:00
8225241746 [ADD][GIT] git-lfs configuration 2019-10-18 22:17:20 +02:00
ecc2435f3e [ADD][GIT] Aliases for logging and misc utilities 2019-07-13 00:55:04 +02:00
d9ca7787bb [ADD] git global configuration 2019-07-11 14:38:59 +02:00