diff --git a/private_dot_config/git/config b/private_dot_config/git/config index 6954eed..ef21f35 100644 --- a/private_dot_config/git/config +++ b/private_dot_config/git/config @@ -6,6 +6,15 @@ [core] # disable autocrlf autocrlf = input + excludesfile = ~/.config/git/excludes +[color] + ui = auto +[pull] + ff = only +[init] + defaultBranch = main +[push] + default = nothing [alias] # pushes to all remotes (currently lacking a way to specify ref name, it will push EVERYTHING) push-all = !git remote | xargs -L1 git push --all diff --git a/private_dot_config/git/excludes b/private_dot_config/git/excludes new file mode 100644 index 0000000..c3fa68e --- /dev/null +++ b/private_dot_config/git/excludes @@ -0,0 +1,2 @@ +.directory +.idea/