aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/git
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-11-14 15:49:52 -0600
committerToby Vincent <tobyv@tobyvin.dev>2023-11-14 15:49:52 -0600
commit6821687575fa72c2f65584c765599a81cc88263e (patch)
tree1775d37564acc9c891ec285aea5267a9fcc5286c /git
parent0fe2690e80af784bc244329ff1e8c40ac7501f6c (diff)
fix(git): remove unused git config options
Diffstat (limited to 'git')
-rw-r--r--git/.config/git/config38
1 files changed, 3 insertions, 35 deletions
diff --git a/git/.config/git/config b/git/.config/git/config
index 3c67ee6..05bc1c3 100644
--- a/git/.config/git/config
+++ b/git/.config/git/config
@@ -61,40 +61,8 @@ process = git-lfs filter-process
required = true
[alias]
-# basic
-st = status -u
-cl = clone
-ci = commit
+st = status
co = checkout
-br = branch
-r = reset
rv = remote -v
-cp = cherry-pick
-dev = checkout develop
-main = checkout main
-wt = worktree
-
-# tweak defaults
-grep = grep -Ii
-diff = diff --word-diff
-branch = branch -ra
-
-# shortcuts
-ai = add --interactive
-recommit = commit --amend -C HEAD
-redate = rebase --committer-date-is-author-date
-pr = "!f() { git fetch -fu ${2:-origin} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f"
-wtbr = "!f() { git worktree add $(git rev-parse --show-toplevel)_${1##*/} $1; }; f"
-
-# log commands
-lg = log --graph --oneline --decorate --branches --remotes --tags --abbrev-commit
-ll = log --stat --oneline --decorate --branches --remotes --tags --abbrev-commit
-
-# undo http://megakemp.com/2016/08/25/git-undo/
-undo = "!f() { git reset --soft $(git rev-parse --abbrev-ref HEAD)@{${1-1}}; }; f"
-
-# stash staged files
-stashindex = !git stash --keep-index && git stash && git stash apply stash@{1} && git stash show -p | git apply -R && git stash drop stash@{1}
-
-# generate git artifacts
-ignore = "!f() { IFS=\",\"; curl -L -s \"https://www.toptal.com/developers/gitignore/api/$*\" ;}; f"
+lg = log --oneline --decorate --branches --remotes --tags --abbrev-commit --graph
+ll = log --oneline --decorate --branches --remotes --tags --abbrev-commit --stat