aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/gitconfig
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-10-27 03:54:02 -0500
committerToby Vincent <tobyv13@gmail.com>2021-10-27 03:54:02 -0500
commit55f4f276557b369095172408b95113f9cc44dbd4 (patch)
tree3ab89f4040de7d24d4d2b4ae3ccc02b118c1c0d8 /gitconfig
parent79f8a9e68acc992c15d72e7983d06efe416c90ee (diff)
feat: made --no-ff default for git-merge
Diffstat (limited to 'gitconfig')
-rw-r--r--gitconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitconfig b/gitconfig
index 9c71e18..2eba68a 100644
--- a/gitconfig
+++ b/gitconfig
@@ -66,4 +66,6 @@
# generate git artifacts
ignore = "!f() { IFS=\",\"; curl -L -s \"https://www.toptal.com/developers/gitignore/api/$*\" ;}; f"
attributes = "!f() { curl -sL https://gist.githubusercontent.com/tobyvin/70f3671c76016063594ea45edbb97094/raw ;}; f"
- license = "!f() { curl -sH 'Accept: application/vnd.github.v3+json' https://api.github.com/licenses/$1 | grep -oP '.*\"body\":\\s*\"\\K.*(?=\\s*\",)' | tr '\\n' '\\0' | xargs -0 printf '%b\\n' | sed \"s/\\[year\\]/$(date +'%Y')/\" | sed \"s/\\[fullname\\]/$(git config --get user.name)/\"; }; f" \ No newline at end of file
+ license = "!f() { curl -sH 'Accept: application/vnd.github.v3+json' https://api.github.com/licenses/$1 | grep -oP '.*\"body\":\\s*\"\\K.*(?=\\s*\",)' | tr '\\n' '\\0' | xargs -0 printf '%b\\n' | sed \"s/\\[year\\]/$(date +'%Y')/\" | sed \"s/\\[fullname\\]/$(git config --get user.name)/\"; }; f"
+[merge]
+ ff = no