aboutsummaryrefslogtreecommitdiff
path: root/gentoo/gitconfig.org
blob: c9072042fff1b41794640772522bed5b332328b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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