-
Notifications
You must be signed in to change notification settings - Fork 0
/
.extra
24 lines (22 loc) · 1.21 KB
/
.extra
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# edit and place what you like that you might not want committed to the source config repo like git credentials
# Git credentials
# Not in the repository, to prevent people from accidentally committing under my name
GIT_AUTHOR_NAME="yourName in.extra"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="yourEmail@dotExtra.com"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"
# This file is in the git ignore but is loaded in .bash_profile so you can set private
# variables like personal access tokens whithout them being pushed to your repo
# git diff lockb see https://bun.sh/docs/install/lockfile
# also requires local or global .gitattributes file to contain *.lockb binary diff=lockb
# which we like to add to projects that use bun to install and update packages
git config --global diff.lockb.textconv bun
git config --global diff.lockb.binary true
# You may also want to setup signing using gpg2
# so git commit -S -m "commit text" will also sign
# git config --global user.signingkey <your-key-id>
# git config --global gpg.program gpg2
# git config --global commit.gpgsign true
# git config --global commit.template ~/.gitmessage