modules/git: autoPushRemote and ignore .direnv

This commit is contained in:
fleaz 2022-10-25 15:28:22 +02:00
parent 92bfe8ad16
commit 137c17b0e2
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -6,6 +6,7 @@
"*.sql" "*.sql"
"*.sql.gz" "*.sql.gz"
"*.sql.zst" "*.sql.zst"
".direnv/"
]; ];
userName = "fleaz"; userName = "fleaz";
userEmail = "mail@felixbreidenstein.de"; userEmail = "mail@felixbreidenstein.de";
@ -20,10 +21,14 @@
"pull" = { "pull" = {
rebase = "true"; rebase = "true";
}; };
"push" = {
autoSetupRemote = "true";
};
}; };
aliases = { aliases = {
# checkout-pull-request from GitHub
cpr = "!f() { git fetch origin refs/pull/$1/head && git checkout FETCH_HEAD; }; f"; cpr = "!f() { git fetch origin refs/pull/$1/head && git checkout FETCH_HEAD; }; f";
}; };