Rush to eat, do not typeset.
A: Upload
1, the new warehouse
Cloning the following code to local repository:
git clone https://github.com/ndnmonkey/zhihu.git
Put the files on the clone to a local folder:
cd zhihu # just open the folder git the commit -m " Version 1.0 " # submit only added to the file cache of git the Add Remote Origin HTTPS: // github.com/ndnmonkey/zhihu.git # sentence can not, because clone has a good connection. git push -u origin master # the local master branch pushed to the origin host specifying the origin as the default master, the latter can be used without any parameters git push up. That future may not add -u
Second, modify
We see on the map test.py, I want it to go first and then delete the warehouse.
1, now deleted locally.
2, the command
git add . git commit -m "version 1.2"
git push origin master
result: