1.
git clone http路徑
把git上的項目拉到本地
2.
git branch
查看當前所在的分支
3.
git checkout online
切換到online分支
4.
git checkout -p new
新建一個new分支
5.
git pull
更新
1.
git clone http路徑
把git上的項目拉到本地
2.
git branch
查看當前所在的分支
3.
git checkout online
切換到online分支
4.
git checkout -p new
新建一個new分支
5.
git pull
更新
一: 安裝openssl和pcre yum -y install pcre-devel openssl openssl-devel 安裝git yum install git -y
取消跟蹤文件&&重新跟蹤 如果修改了.gitignore文件,那麼需要進行如下操作: git rm -rf --cached . git add ./*
創建分支並且拉去遠程同步分支的過程中出現該異常: fatal: 'idea-line-02' is not a commit and a branch 'idea-line