您的位置:首页 > 编程语言

Githup 简单使用

2016-03-17 02:12 357 查看
Upload the file into repository

本地创建文件夹github: cd c:\github\

Copy Github Reposity 项目到本地: git clone https://github.com/sdscls/java.git
进入项目目录java, 并在java目录下创建一些新文件: cd c:\github\java

做一下操作: 

git add . 

git commit - m "change log"

git push -u origin master

After that you will see the update on your repository. 

更新 Github repositoy: git pull

删除文件:git rm fileName

修改文件名:git mv fileName1 fileName2

更新之后,需要继续update操作
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  github upload