new git alias to show current commit hash in full.
This commit is contained in:
parent
3ca07073f0
commit
e2bfd79e41
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@
|
||||||
log-long-line = "log --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'";
|
log-long-line = "log --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'";
|
||||||
recent = "branch --sort=-committerdate --format='%(committerdate:relative)%09%(refname:short)'";
|
recent = "branch --sort=-committerdate --format='%(committerdate:relative)%09%(refname:short)'";
|
||||||
track = "add -AN";
|
track = "add -AN";
|
||||||
|
hash = "git show -s --format=%H";
|
||||||
};
|
};
|
||||||
user = {
|
user = {
|
||||||
email = config.user.git.profile.email;
|
email = config.user.git.profile.email;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue