mirror of
https://github.com/zebrajr/dotfiles.git
synced 2025-12-06 00:20:05 +01:00
added gitconfig
This commit is contained in:
parent
169dc00157
commit
227dc8a2b2
|
|
@ -14,6 +14,11 @@
|
||||||
"destination": "~/.tmux.conf",
|
"destination": "~/.tmux.conf",
|
||||||
"type": "replace"
|
"type": "replace"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "home/gitconfig",
|
||||||
|
"destination": "~/.gitconfig",
|
||||||
|
"type": "replace"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "local/scripts",
|
"source": "local/scripts",
|
||||||
"destination" : "~/.local/scripts",
|
"destination" : "~/.local/scripts",
|
||||||
|
|
|
||||||
68
home/gitconfig
Normal file
68
home/gitconfig
Normal file
|
|
@ -0,0 +1,68 @@
|
||||||
|
#[user]
|
||||||
|
# email = email@domain.tld
|
||||||
|
# name = Carlos Sousa
|
||||||
|
|
||||||
|
[column]
|
||||||
|
# Configures the column display settings for the Git user interface
|
||||||
|
ui = auto
|
||||||
|
|
||||||
|
[branch]
|
||||||
|
# Configures the sorting order for Git branches
|
||||||
|
sort = -comitterdate
|
||||||
|
|
||||||
|
[tag]
|
||||||
|
# Configures the sorting order for Git tags
|
||||||
|
sort = version:refname
|
||||||
|
|
||||||
|
[init]
|
||||||
|
# Sets the default branch name for new Git repositories
|
||||||
|
defaultBranch = master
|
||||||
|
|
||||||
|
[diff]
|
||||||
|
# Sets the diff algorithm to use the "histogram" algorithm
|
||||||
|
algorithm = histogram
|
||||||
|
# Sets the color scheme for moved lines in diffs
|
||||||
|
colorMoved = plain
|
||||||
|
# Enables mnemonic prefixes (a/, b/) in diffs
|
||||||
|
mnemonicPrefix = true
|
||||||
|
# Enables renaming detection in diffs
|
||||||
|
renames = true
|
||||||
|
|
||||||
|
[push]
|
||||||
|
# Sets the default push behavior to "simple" (only push the current branch)
|
||||||
|
default = simple
|
||||||
|
# Automatically sets up the remote branch when pushing a new branch
|
||||||
|
autoSetupRemote = true
|
||||||
|
# Pushes tags along with the branch when pushing
|
||||||
|
followTags = true
|
||||||
|
|
||||||
|
[fetch]
|
||||||
|
# Prunes local references to deleted remote branches
|
||||||
|
prune = true
|
||||||
|
# Prunes local references to deleted remote tags
|
||||||
|
pruneTags = true
|
||||||
|
# Fetches from all remotes
|
||||||
|
all = true
|
||||||
|
|
||||||
|
[help]
|
||||||
|
# Enables autocorrect for Git commands
|
||||||
|
autocorrect = prompt
|
||||||
|
|
||||||
|
[commit]
|
||||||
|
# Enables verbose commit messages
|
||||||
|
verbose = true
|
||||||
|
|
||||||
|
# Configures the Git rerere (reuse recorded resolution) settings
|
||||||
|
[rerere]
|
||||||
|
# Enables the rerere feature
|
||||||
|
enabled = true
|
||||||
|
# Automatically updates the rerere cache
|
||||||
|
autoupdate = true
|
||||||
|
|
||||||
|
[rebase]
|
||||||
|
# Automatically squashes commits during rebase
|
||||||
|
autoSquash = true
|
||||||
|
# Automatically stashes changes before rebase
|
||||||
|
autoStash = true
|
||||||
|
# Updates the refs during rebase
|
||||||
|
updateRefs = true
|
||||||
Loading…
Reference in New Issue
Block a user