Compare commits
3 commits
53dda62f99
...
f303e2b05e
| Author | SHA1 | Date | |
|---|---|---|---|
| f303e2b05e | |||
| 665cbeaec3 | |||
| ee0e681fb4 |
3 changed files with 12 additions and 4 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
# Logo key. Use Mod1 for Alt.
|
# Logo key. Use Mod1 for Alt.
|
||||||
set $wm_mod Mod4+Control
|
set $wm_mod Mod4+Control
|
||||||
set $launch Mod4+Alt
|
set $launch Mod4+Alt
|
||||||
# Home row direction keys, like vim
|
# WASD direction keys, video game style
|
||||||
set $left a
|
set $left a
|
||||||
set $down s
|
set $down s
|
||||||
set $up w
|
set $up w
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,15 @@
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = trunk
|
defaultBranch = trunk
|
||||||
[alias]
|
[alias]
|
||||||
co = checkout
|
# keep-sorted start
|
||||||
br = branch
|
br = branch
|
||||||
ci = commit
|
ci = commit
|
||||||
st = status
|
co = checkout
|
||||||
sign = commit --amend --no-edit --gpg-sign
|
disclaim = !git-disclaim
|
||||||
resign = !git-resign
|
resign = !git-resign
|
||||||
|
sign = commit --amend --no-edit --gpg-sign
|
||||||
|
st = status
|
||||||
|
# keep-sorted end
|
||||||
[remote]
|
[remote]
|
||||||
pushDefault = .
|
pushDefault = .
|
||||||
[git-sync]
|
[git-sync]
|
||||||
|
|
|
||||||
5
.local/bin/git-disclaim
Executable file
5
.local/bin/git-disclaim
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
author_name="$(git show --no-patch --format='%an' HEAD)"
|
||||||
|
author_email="$(git show --no-patch --format='%ae' HEAD)"
|
||||||
|
GIT_AUTHOR_NAME="${author_name}" GIT_AUTHOR_EMAIL="${author_email}" GIT_COMMITTER_NAME="${author_name}" GIT_COMMITTER_EMAIL="${author_email}" git commit --amend --author "${author_name} <${author_email}>" --no-edit --no-verify
|
||||||
Loading…
Add table
Add a link
Reference in a new issue