Created
April 26, 2014 02:10
-
-
Save macrotea/11309944 to your computer and use it in GitHub Desktop.
提交本地项目文件到github的操作命令
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
在github上创建一个库: https://github.com/macrotea/nodejs-bower | |
进入本地文件夹: ndoejs-bower,然后提交本地文件到远程库的命令如下: | |
D:\workspace\javascript\nodejs-bower>git init | |
D:\workspace\javascript\nodejs-bower>git add . | |
D:\workspace\javascript\nodejs-bower>git commit -m "init" | |
D:\workspace\javascript\nodejs-bower>git remote add origin https://github.com/macrotea/nodejs-bower | |
D:\workspace\javascript\nodejs-bower>git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment