GitHub 托管代码
2013-05-15 17:42
260 查看
用GitHub 托管代码:
1 首先,自己先注册个账号了 https://github.com/
点击 New respository 可以新建个目录,用来放你的项目的。
好了后,可以看到你的 git 地址。
2 把eclipse的项目上传到你刚健的目录下
用 GitBash , cd 到你的本地项目的地方,然后 git init 初始化。
接下来
git init
git add (红色的部分) // 要屏蔽掉不需要的文件(如.classpath, .project)在 .gitignore 里设置
git commit -m "first commit"
git remote add origin https://github.com/flycool/Bubble.git
git push -u origin master
执行以上命令后,在你的github目录下就有关联到你本地的代码了。
1 首先,自己先注册个账号了 https://github.com/
点击 New respository 可以新建个目录,用来放你的项目的。
好了后,可以看到你的 git 地址。
2 把eclipse的项目上传到你刚健的目录下
用 GitBash , cd 到你的本地项目的地方,然后 git init 初始化。
接下来
git init
git add (红色的部分) // 要屏蔽掉不需要的文件(如.classpath, .project)在 .gitignore 里设置
git commit -m "first commit"
git remote add origin https://github.com/flycool/Bubble.git
git push -u origin master
执行以上命令后,在你的github目录下就有关联到你本地的代码了。
相关文章推荐
- 教你github托管代码
- 代码同时托管到github和git.oschina.net
- 从今天开始写博客、托管代码到 Github
- eclipse托管代码到github--高上
- vs2012 下代码托管 Github
- 申请github账户,托管代码到github全套教程来了(依据github2017最新版界面)
- 【代码托管】Github 使用
- 操作GitHub实现代码托管
- 提交代码到github托管
- GitHub托管代码
- 使用IDEA将代码托管到GitHub步骤和错误解决
- 【iOS开发】---- 手把手教你github托管代码
- iOS 使用GitHub托管代码
- 如何上传代码都代码托管上面(Github,codingnet)
- 两分钟学会在GitHub托管代码
- 使用GitHub托管代码
- iOS开发者两分钟学会用GitHub在Mac上托管代码的两种方法
- Github网站加载不完全,响应超时,如何解决 Github是一个代码托管平台和开发者社区,开发者可以在Github上创建自己的开源项目并与其他开发者协作编码。毫不夸张地说,高效利用Github是一
- 两分钟学会在GitHub托管代码
- Git的使用- github代码托管