github上传代码
2013-04-08 15:10
183 查看
作为一名程序员,分享自己的经验,项目,代码是大家习以为常的一件事,但是有的时候有人跟喜欢下载别人的代码,真正体会到别人的意图。今天我将如何使用github上传自己的代码分享给大家。
1.首先我们要进入github官网注册github账号。
2.上传的详细步骤可参考https://help.github.com/
我们在mac系统下,以上传一个REDME为例,打开终端,输入命令如下:
git config --global user.name "yuzw"
git config --global user.email "yuzw@witmob.com"
git config --global credential.helper osxkeychain
我们create a repo
mkdir hello
cd hello
git init
touch REDME
git add REDME
git commit -m "first commit"
git remote add origin https://github.com/yuzwwitmob/hello.git
git push origin master
这样就可以将我们的代码上传到github上
1.首先我们要进入github官网注册github账号。
2.上传的详细步骤可参考https://help.github.com/
我们在mac系统下,以上传一个REDME为例,打开终端,输入命令如下:
git config --global user.name "yuzw"
git config --global user.email "yuzw@witmob.com"
git config --global credential.helper osxkeychain
我们create a repo
mkdir hello
cd hello
git init
touch REDME
git add REDME
git commit -m "first commit"
git remote add origin https://github.com/yuzwwitmob/hello.git
git push origin master
这样就可以将我们的代码上传到github上
相关文章推荐
- windows下向GitHub上传代码
- 第一次上传代码到github (Linux)
- Git上传代码项目到GitHub步骤代码
- 本地代码上传gitHub 常见错误
- 使用命令行上传代码到github
- 上传本地代码到github
- ubuntu上传代码文件到github
- 使用git和TortoiseGit上传代码至GitHub
- Android studio下将项目代码上传至github包括更新,同步,创建依赖
- 如何上传项目代码到github上
- GitHub入门:如何部署管理项目代码,上传与下载工程?
- 将本地代码上传到github
- Github上传代码 整理(14/6/11晚搞定)
- 教你上传本地代码到github
- 将本地代码上传到github详解--git工具学习
- 上传代码到github
- github创建分支上传自己的文件代码
- 用git 命令创建本地仓库将本地代码上传到github
- Windows如何上传代码到Github
- 将本地代码上传github