push project1 project2 from pc1 to my github.
now, I have modified project2 on pc2. I need to push this project2 from pc2 to github and replace the original project2 with this modified project2.
git init
git add project2/
git commit -m "merge"
git remote add origin https://xxxx@github.com/xxxx/mytest.git
git push origin master -f
after the above operation is completed, Admiral github will have only project2, "s original project1 project2 and only project2.
excuse me, how can I do this on pc2?