-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
email = [email protected] | ||
|
||
# This setup will always prompt for the password. | ||
# There's also https://aur.archlinux.org/packages/git-sendgmail-git/ for an OAuth2-based setup with Gmail. | ||
# https://git-scm.com/docs/git-send-email | ||
# https://git-send-email.io/ | ||
[sendemail] | ||
|
@@ -14,22 +13,22 @@ | |
smtpUser = [email protected] | ||
|
||
[alias] | ||
# keep-sorted start | ||
cp = cherry-pick | ||
dc = diff --cached | ||
desc = commit --allow-empty | ||
emerge = !git amend -n && git pushm -f | ||
exec = !exec | ||
nb = checkout -b | ||
rbi = rebase -i HEAD~10 | ||
pullm = !git pull $(git remote) $(git branch --show-current):$(git branch --show-current) | ||
pushm = !git push $(git remote) $(git branch --show-current):$(git branch --show-current) | ||
rb = branch -m | ||
rbi = rebase -i HEAD~10 | ||
rc = rebase --continue | ||
st = status | ||
su = submodule update | ||
world = !git fetch --all && git remote prune origin | ||
|
||
# m = matching | ||
pushm = !git push $(git remote) $(git branch --show-current):$(git branch --show-current) | ||
pullm = !git pull $(git remote) $(git branch --show-current):$(git branch --show-current) | ||
# keep-sorted end | ||
|
||
# usage: git ignore go,hugo,vim >> .gitignore | ||
ignore = !curl -L -s https://www.gitignore.io/api/$@ | ||
|
@@ -39,6 +38,7 @@ | |
xl = branch -vv | ||
|
||
# hg/fig compatibility | ||
# keep-sorted start | ||
amend = commit --amend --no-edit | ||
purge = clean -f -d | ||
recommit = commit --reedit-message ORIG_HEAD | ||
|
@@ -48,6 +48,7 @@ | |
uncommit = !git reset --soft HEAD^ && git restore --staged . | ||
unshelve = stash apply | ||
unstash = stash apply | ||
# keep-sorted end | ||
|
||
[apply] | ||
# Detect whitespace errors when applying a patch. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
[DEFAULT] | ||
git_world = git world "$@" | ||
git_xl = git xl "$@" && gh pr list --author "@me" | ||
git_xl = git xl "$@" |