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