常用的git alias

重装了一次电脑,记录一下git alias的配置。

1
2
3
4
5
6
7
8
$ cat ~/.gitconfig 
[user]
name = Jinloh WU
email = i@tiaobug.com
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ac = !git add . && git commit -m
acp = "!f() { git add . && git commit -m \"$1\" && git push; }; f"

顺手记录一下:
Thinkbook 14+ 使用U盘启动的时候,F12以后引导选择后,无法正常启动。需要F1选择把安全启动模式给关掉就可以了。

Notice: 正常情况下,这里会有一个基于utteranc.es的留言系统,如果看不到,可能要想想办法才能看到。

Powered by Hexo and Hexo-theme-hiker

Copyright © 2012 - 2025 Tiaobug All Rights Reserved.

鲁ICP备2024124237号-1