git 常用命令

git 常用命令

git 常用命令的记录

拷贝项目:(Shift + insert)快速粘贴

git clone https://github.com/bigbigtime/web.git

查看分支:(分支中显示绿色,为当前所处分支)

git branch –list
git branch -a

切分支:

git checkout

其他

当提示时,以下命令时,一模一样样输入即可,只需把 username、email 修改为你自己的注册的帐号即可。
git config –global user.name “username”
git config –global user.email “email”

作者

Tianchen Li

发布于

2020-09-23

更新于

2020-10-17

许可协议

评论