一:描述:
Git是目前世界上最先进的分布式版本控制系统(没有之一)。
Git有什么特点?简单来说就是:高端大气上档次!
我在这里就不说使用了,就列出我最最常用的操作。
想看教程的,推荐《Git教程 - 廖雪峰的官方网站》,网址
http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000
二:配置
git config --global user.name "hongweizhiyuan" git config --global user.email "403236160@qq.com"
三:操作开始
1、 git init 2、 git remote add origin https://git.oschina.net/hongweizhiyuan/xxxxxx.git 3、 git add --all 4、 git commit -m "update" 5、 git pull origin master (如果报错,输入它) 6、 git push origin master (然后输入用户名和密码即可上传!)
四:复制到本地
git clone https://git.oschina.net/hongweizhiyuan/xxxxxx.git 然后输入用户名和密码