1
Fork 0

git: remove scripts, add aliases

This commit is contained in:
Alan Faubert 2018-09-24 21:30:25 -04:00
parent 67bda5f24b
commit dc81b172d9
4 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,7 @@
[alias]
unfilemode = config --unset-all core.filemode
user-acf = !git config --replace-all user.email 'git@acf.ws' && git config --replace-all user.name 'Alan Faubert'
user-conv = !git config --replace-all user.email 'git@chor.date' && git config --replace-all user.name 'Conduitry'
[core]
autocrlf = false
filemode = false

View File

@ -1,3 +1,6 @@
# Git Config
This `.gitconfig` does not include a default identity for commits. Instead there are scripts that set it as appropriate for a given repository.
This `.gitconfig` does not include a default identity for commits. It does define a few aliases though:
- `git unfilemode` - unset `core.filemode` on this repo, so global (`core.filemode = false`) will be used
- `git user-*` - set `user.email` and `user.name` as appropriate

View File

@ -1,2 +0,0 @@
git config user.email "git@acf.ws"
git config user.name "Alan Faubert"

View File

@ -1,2 +0,0 @@
git config user.email "git@chor.date"
git config user.name "Conduitry"