前提: -公司仓库: [email protected]:gongsi/xxoo.git -个人仓库: [email protected]:geren/xxoo.git
- $git clone [email protected]:geren/xxoo.git
- git remote add xxoo [email protected]:gongsi/xxoo.git
- git fetch xxoo
- git checkout -b develop xxoo/develop
- git push -u origin develop
- git checkout -b some-feature develop
- git add .
- git commit -m "xxxxxooooo"
- git push -u origin some-feature
- git checkout develop
- git pull xxoo develop
- git merge some-feature
- git push origin develop
- git push origin --delete some-feature
- git fetch -p