1兄猩、提交代碼:
git status
git commit -m "info"
git push
2八秃、刪除本地的分支
git branch -d feature_formvalidate_yld
3、git branch -a
? ? ?git branch -r
? ? git branch?
4井佑、然后再將新的代碼重新pull下來(lái)? git pull ,可能會(huì)提示你配置文件之類(lèi)的(Your local changes to the following files would be overwritten by merge:.gitignore),這時(shí)候我們就要在本地恢復(fù)其配置文件
直接 git checkout .gitignore
5唯卖、然后git pull(成功)
6、git branch -d feature_formvalidate_yld?
? ? ?git branch
? ? ?git checkout -b feature_form_bootstrapvalidate
? ? ?git remote