git小白,请问我怎么将本地的仓库同步到服务器上,本地做了修改之后然后远程提交到服务器上。能有相关教程链接最好,谢谢
我想大声告诉你2017-05-02 09:52:14
STEP1 Temporary storage: git add <文件>
STEP2 提交到本地仓库:git commit -m <提交信息>
STEP3 推送到远程服务器:git push <远程服务器> <分支>
If you are not familiar with it, just use the following (change the submission information and pay attention to the branch):
git add .
git commit -m ":tada: first commit"
git push origin master
It is recommended to refer to pro git