<h3>傻瓜版Command line instructions</h3>2015-12-30
Git global setup(全局设置)
<pre>git config --global user.name "ownname"
git config --global user.email "134xxxx3469@163.com"
</pre>
Create a new repository【创建一个仓库】
<pre>git clone git@github.com:HongYueXX/Hxxx.git
cd Hxxx
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
</pre>
Existing folder or Git repository【存在项目夹,Git仓库】
<pre>
cd existing_folder
git init
git remote add origin git@github.com:HongYueXX/Hxxx.git
git push -u origin master
</pre>
.gitignore 更新后操作,使.gitignore生效
git rm -r --cached .
git add .
git commit -m 'update .gitignore'