添加git忽略文件变化相关命令别名

This commit is contained in:
2021-08-10 00:44:00 +08:00
parent ae93492b7a
commit 206d3e207d
2 changed files with 12 additions and 8 deletions

View File

@@ -35,7 +35,8 @@ pravitekeys = awful.util.table.join(
awful.key({ modkey }, "e", awful.key({ modkey }, "e",
function () function ()
run_or_raise("emacsclient -a '' -c -n", {class = "Emacs"}) -- run_or_raise("emacsclient -a '' -c -n", {class = "Emacs"})
run_or_raise("emacs", {class = "Emacs"})
end), end),
awful.key({ modkey, "Shift" }, "e", awful.key({ modkey, "Shift" }, "e",

View File

@@ -5,13 +5,16 @@
[github] [github]
user = zedhugh user = zedhugh
[alias] [alias]
co = checkout co = checkout
ci = commit ci = commit
st = status st = status
br = branch br = branch
hist = log --pretty=format:'%h %ad | %s%d [%ad]' --graph --date=short hist = log --pretty=format:'%h %ad | %s%d [%ad]' --graph --date=short
type = cat-file -t type = cat-file -t
dump = cat-file -p dump = cat-file -p
hide = update-index --assume-unchanged
unhide = update-index --no-assume-unchanged
hidden = !git ls-files -v | grep "^[[:lower:]]"
[commit] [commit]
gpgSign = true gpgSign = true
[diff "gpg"] [diff "gpg"]