aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-10-30 14:55:33 -0500
committerToby Vincent <tobyv13@gmail.com>2021-10-30 14:55:33 -0500
commit4921484fbace97a9b467b397d4d8a376043b385c (patch)
tree3beb05c7948a7d8481e8b1b993a69100ce3f2968
parentb5553b5305b2b88f7e525a741fa80a0c1c84fe54 (diff)
feat: added git aliases
-rw-r--r--gitconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitconfig b/gitconfig
index bf50f87..0189ae2 100644
--- a/gitconfig
+++ b/gitconfig
@@ -37,6 +37,8 @@ co = checkout
br = branch
r = reset
cp = cherry-pick
+dev = checkout develop
+main = checkout main
# tweak defaults
grep = grep -Ii
@@ -44,6 +46,7 @@ diff = diff --word-diff
branch = branch -ra
ai = add --interactive
recommit = commit --amend -C HEAD
+redate = rebase --committer-date-is-author-date
# log commands
lg = log --graph --oneline --decorate --all --abbrev-commit