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”