Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envrcd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
isgphys
envrcd
Commits
be3663da
Commit
be3663da
authored
2 months ago
by
Sven Mäder
Browse files
Options
Downloads
Patches
Plain Diff
Use delta for git diff
parent
5844fcbb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
profile/default/.gitconfig
+22
-1
22 additions, 1 deletion
profile/default/.gitconfig
profile/rda/.gitconfig
+28
-1
28 additions, 1 deletion
profile/rda/.gitconfig
with
50 additions
and
2 deletions
profile/default/.gitconfig
+
22
−
1
View file @
be3663da
[core]
editor
=
vim
excludesfile
=
~/.gitignore_global
pager
=
diff-so-fancy | less --tabs=4 -RFX
pager
=
LESS='--tabs=4 -RFX' delta
#pager = diff-so-fancy | less --tabs=4 -RFX
[color]
ui
=
auto
...
...
@@ -45,6 +46,22 @@
[difftool]
prompt
=
true
[delta]
navigate
=
true # use n and N to move between diff sections
dark
=
true
commit-style
=
raw
file-style
=
raw
dark
=
true
highligh-removed
=
true
navigate
=
true
side-by-side
=
false
plus-style
=
"syntax #004200"
minus-style
=
"syntax #420000"
theme
=
"DarkNeon"
grep-file-style
=
yellow
grep-line-number-style
=
orange
grep-match-word-style
=
red bold
[diff-so-fancy]
# Disable green marker at the beginning of new empty lines
markEmptyLines
=
false
...
...
@@ -110,3 +127,7 @@
adogj
=
!"git adogv"
adog
=
!"git adogv"
adogg
=
!"git adogv -i --grep"
adogdg
=
!"git adogd -i --grep"
# no graph:
adoggg
=
!"git log --all --decorate --oneline --format=format:'%C(#d7ff5f)%h%C(reset)%C(auto)%d%C(reset) %C(normal)%s%C(reset) %C(#5fd7ff)%an%C(reset) %C(#d7d7ff)(%ar)%C(reset)' -G"
adogdgg
=
!"git log --all --decorate --oneline --date=format:'%Y-%m-%d %H:%M:%S' --format=format:'%C(#d7ff5f)%h%C(reset)%C(auto)%d%C(reset) %C(normal)%s%C(reset) %C(#5fd7ff)%an%C(reset) %C(#d7d7ff)(%ad)%C(reset)' -G"
This diff is collapsed.
Click to expand it.
profile/rda/.gitconfig
+
28
−
1
View file @
be3663da
[core]
editor
=
vim
excludesfile
=
~/.gitignore_global
pager
=
diff-so-fancy | less --tabs=4 -RFX
pager
=
LESS='--tabs=4 -RFX' delta
#pager = diff-so-fancy | less --tabs=4 -RFX
#pager = delta --diff-so-fancy --syntax-theme="DarkNeon"
#pager = delta --dark --plus-color="#004200" --minus-color="#420000" --theme="DarkNeon" --highlight-removed
#pager = delta --dark --plus-color="#004d1e" --minus-color="#5e000a" --theme="DarkNeon" --highlight-removed
...
...
@@ -56,6 +58,22 @@
[difftool]
prompt
=
true
[delta]
navigate
=
true # use n and N to move between diff sections
dark
=
true
commit-style
=
raw
file-style
=
raw
dark
=
true
highligh-removed
=
true
navigate
=
true
side-by-side
=
false
plus-style
=
"syntax #004200"
minus-style
=
"syntax #420000"
theme
=
"DarkNeon"
grep-file-style
=
yellow
grep-line-number-style
=
orange
grep-match-word-style
=
red bold
[diff-so-fancy]
# Disable green marker at the beginning of new empty lines
markEmptyLines
=
false
...
...
@@ -84,6 +102,15 @@
# Automatically stash and pop your uncommitted changes while rebasing
#autoStash = true
[safe]
#directory = /homenfs/isg/git/passkeeper
#directory = /homenfs/isg/git/passkeeper/.git
#directory = /homenfs/isg/git/digicert.git
# insecure (used for local submodule clone testing)
#[protocol "file"]
# allow = always
[alias]
co
=
checkout
st
=
status
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment