git 常用设置
温馨提示:
本文最后更新于 2022年02月08日,已超过 667 天没有更新。若文章内的图片失效(无法正常加载),请留言反馈或直接联系我。
#初始化设置
git config --global user.name "your name"
git config --global user.email "you@example.com"
#设置别名
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.st status
git config --global alias.ci commit
常用命令
git fetch --prune origin
git push origin --delete tobeDeleteBr
git log --since='2019-06-15' --until='2019-12-31' --author="huxi" --format='%aN'
git log --since='2019-06-15' --until='2019-12-31' --author="huxi" --numstat --pretty=tformat:--no-merges
更新本地远程分支信息:git remote update origin --prune
git remote prune origin
正文到此结束
- 本文标签: 开发工具
- 本文链接: http://fortunate179.net/article/4
- 版权声明: 本文由fortunate179原创发布,转载请遵循《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权