-
Notifications
You must be signed in to change notification settings - Fork 0
Git
-
git init
初始化库 -
git add *
添加文件 -
git remote add XXX https://github.com/ythy/XXX
Adding Remote Repositories -
git commit -a -m 'log'
本地提交 -
git push XXX master
Pushing to Your Remotes> -
git pull XXX master
拉取最新文件
git commit -a -m 'del'
git remote add ...
The command git remote add origin [email protected]:peter/first_app.git
creates a new remote called origin located at [email protected]:peter/first_app.git
. Once you do this, in your push commands, you can push to origin instead of typing out the whole URL.
git push origin master
This is a command that says "push the commits in the local branch named master to the remote named origin". Once this is executed, all the stuff that you last synchronised with origin will be sent to the remote repository and other people will be able to see them there.
tell me how get back to sunshine