[Practical Git] Configure global settings with git config
Git with config global settings configure
2023-09-14 09:00:53 时间
You can set up global "git config" settings that apply to all git projects on your system. In this lesson, we review how the ./gitconfig
file works. We then add our own git config settings: username, email, editor, and git aliases.
There are many other git config commands that can be used, but this lesson shows you pattern behind them all so you can view and edit your own settings.
Alias:
git config --global alias.lg 'log --graph --oneline -p'
Then use alias:
git lg
相关文章
- Eclipse Git分支实战
- 关于git拉取项目时,报RPC failed; curl 18 transfer closed with outstanding read data remaining错的解决方案
- 使用Git pull文件时,出现"error: RPC failed; curl 18 transfer closed with outstanding read data remaining"
- python后端面试第六部分:git版本控制--长期维护
- [Practical Git] Format commit history with git log arguments
- 我是如何使用git的
- git mgrge命令使用
- 带着历史提交记录迁移git仓库
- [Git] Recover Local Changes from `git reset --hard` with `git reflog`
- [Practical Git] Diagnose which commit broke something with git bisect
- [Practical Git] Compare file changes with git diff
- [Practical Git] Format commit history with git log arguments
- [Practical Git] Navigate git command pager output with Unix less commands
- How to Use Command to Execute Git Push with Review from Sean
- git 配置,代码提交到仓库,不小心将node_modules上传,处理操作。.gitignore 删除已提交的文件
- git-【一】概述安装
- 关于git的文件内容冲突解决