-
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/XXXAdding Remote Repositories -
git commit -a -m 'log'本地提交 -
git push XXX masterPushing to Your Remotes> -
git pull XXX master拉取最新文件
git commit -a -m 'del'
git remote add ...
The command git remote add origin git@github.com:peter/first_app.git creates a new remote called origin located at git@github.com: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