Compare commits
No commits in common. "2f21f8a1db093ef3e00f6b3fe7bb08b4076e73f4" and "dabc2053b5c5f064afd27d94d0479ae33e375c82" have entirely different histories.
2f21f8a1db
...
dabc2053b5
@ -82,6 +82,3 @@ alias quota='quota -gls'
|
|||||||
if [ -x /usr/bin/batcat ]; then
|
if [ -x /usr/bin/batcat ]; then
|
||||||
alias cat='batcat'
|
alias cat='batcat'
|
||||||
fi
|
fi
|
||||||
if [ -x /usr/bin/bat ]; then
|
|
||||||
alias cat='bat'
|
|
||||||
fi
|
|
||||||
|
|||||||
@ -113,7 +113,7 @@ list-ssh-keys() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
{{- if (eq .chezmoi.os "linux") }}
|
{{- if (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "linuxmint") (eq .chezmoi.osRelease.id "ubuntu")) }}
|
||||||
# Show version of a Debian package
|
# Show version of a Debian package
|
||||||
debversion() {
|
debversion() {
|
||||||
local pkgname="${1:?packagename required}"
|
local pkgname="${1:?packagename required}"
|
||||||
|
|||||||
@ -9,44 +9,11 @@
|
|||||||
logshort = log --pretty=format:'%Cred%h %Cgreen[%cd]%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --date=short
|
logshort = log --pretty=format:'%Cred%h %Cgreen[%cd]%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --date=short
|
||||||
showfull = show --format=fuller --name-only
|
showfull = show --format=fuller --name-only
|
||||||
|
|
||||||
# Some aliases inspired by https://github.com/jessarcher
|
|
||||||
a = add
|
|
||||||
aa = add --all
|
|
||||||
ap = add --patch
|
|
||||||
au = add --update
|
|
||||||
|
|
||||||
b = branch
|
|
||||||
ba = branch --all
|
|
||||||
bd = branch --delete
|
|
||||||
bD = branch --delete --force
|
|
||||||
bm = branch --move
|
|
||||||
bM = branch --move --force
|
|
||||||
|
|
||||||
c = commit
|
|
||||||
# ca = commit --amend
|
|
||||||
# I use --all more often than amend
|
|
||||||
ca = commit --all
|
|
||||||
ci = commit --interactive
|
|
||||||
cm = commit --message
|
|
||||||
cv = commit --verbose
|
|
||||||
# from https://dzone.com/articles/lesser-known-git-commands
|
|
||||||
commend = commit --amend --no-edit
|
|
||||||
|
|
||||||
d = diff
|
|
||||||
dc = diff --cached
|
|
||||||
ds = diff --staged
|
|
||||||
dw = diff --word-diff
|
|
||||||
|
|
||||||
stl = stash list --date=local
|
|
||||||
st = stash
|
|
||||||
stp = stash pop
|
|
||||||
|
|
||||||
# more aliases from https://stackoverflow.com/questions/2553786/how-do-i-alias-commands-in-git
|
# more aliases from https://stackoverflow.com/questions/2553786/how-do-i-alias-commands-in-git
|
||||||
bv = branch -a -vv
|
bv = branch -a -vv
|
||||||
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]%Creset%Cgreen\\ (%cd)" --decorate --numstat --date=relative
|
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]%Creset%Cgreen\\ (%cd)" --decorate --numstat --date=relative
|
||||||
ld = log --pretty=format:"%C(yellow)%h\\ %C(green)%ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short --graph
|
ld = log --pretty=format:"%C(yellow)%h\\ %C(green)%ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short --graph
|
||||||
ls = log --pretty=format:"%C(green)%h\\ %C(yellow)[%ad]%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
|
ls = log --pretty=format:"%C(green)%h\\ %C(yellow)[%ad]%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
|
||||||
lstat = log --name-status
|
|
||||||
|
|
||||||
# Short summary of commiters
|
# Short summary of commiters
|
||||||
summary = shortlog --summary --numbered --email
|
summary = shortlog --summary --numbered --email
|
||||||
@ -69,7 +36,6 @@
|
|||||||
|
|
||||||
# show stats
|
# show stats
|
||||||
stat = show --stat --format=fuller
|
stat = show --stat --format=fuller
|
||||||
sname = show --name-status
|
|
||||||
|
|
||||||
# from https://dzone.com/articles/lesser-known-git-commands
|
# from https://dzone.com/articles/lesser-known-git-commands
|
||||||
commend = commit --amend --no-edit
|
commend = commit --amend --no-edit
|
||||||
@ -129,8 +95,3 @@
|
|||||||
|
|
||||||
[http]
|
[http]
|
||||||
# proxy = http://host:port
|
# proxy = http://host:port
|
||||||
#
|
|
||||||
|
|
||||||
[init]
|
|
||||||
# Talisman Test
|
|
||||||
# templatedir = 'c:/cygwin64/home/sgaiselm/.git-template'
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user