aboutsummaryrefslogtreecommitdiff
path: root/common/gitconfig.org
diff options
context:
space:
mode:
authorJacob Janzen <jjanzenn@proton.me>2024-08-09 22:11:23 -0500
committerJacob Janzen <jjanzenn@proton.me>2024-08-09 22:11:23 -0500
commite6e8ebe10aa40e5a3be2b94cdf3b324f3d3e52e0 (patch)
treeaca3b279520b76d918ce603d47981f1d23dbd1af /common/gitconfig.org
parent40f02bc8088ca93224bf65f083c4ab3b17eaf435 (diff)
split-dotfiles
Diffstat (limited to 'common/gitconfig.org')
-rw-r--r--common/gitconfig.org18
1 files changed, 18 insertions, 0 deletions
diff --git a/common/gitconfig.org b/common/gitconfig.org
new file mode 100644
index 0000000..c907204
--- /dev/null
+++ b/common/gitconfig.org
@@ -0,0 +1,18 @@
+#+title: Git Configuration
+Define my full name and email.
+#+begin_src conf :tangle ~/.gitconfig
+ [user]
+ name = Jacob Janzen
+ email = jjanzenn@proton.me
+#+end_src
+Use =main= over =master=.
+#+begin_src conf :tangle ~/.gitconfig
+ [init]
+ defaultBranch = main
+#+end_src
+
+Make =pull= rebase on conflict.
+#+begin_src conf :tangle ~/.gitconfig
+ [pull]
+ rebase = true
+#+end_src