まず、一般的なコマンドを紹介
コマンドライン1.1はじめに
1.1.1 Gitのグローバル設定
$ git config --global user.name "knight"
$ git config --global user.email "[email protected]"
1.1.2新しいリポジトリを作成する(ローカル)
$ git clone http://git.dayuan.cc/practice/git-exmple.git
cd git-exmple
$ touch README.md
$ git add README.md
$ git commit -m "add README"
$ git push -u origin master
https://www.jianshu.com/p/92305d949c0e