Last active
October 14, 2018 00:12
-
-
Save donchan922/ff29634239dfedf5d4fa2c75d4439d5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd github-flow-practice # リポジトリがあるディレクトリに移動する | |
$ git branch # 現在のブランチを確認する | |
* master | |
$ git checkout -b mod-readme # ブランチを作成&移動する | |
Switched to a new branch 'mod-readme' | |
github-flow-practice $ git branch | |
master | |
* mod-readme | |
$ echo "Hello World" > README.md # README.mdを編集する | |
$ git add README.md # 変更をaddする | |
$ git commit -m "modify README.md" # 変更をcommitする | |
$ git push origin mod-readme # リモートリポジトリのmod-readmeブランチにpushする | |
To https://github.com/donchan922/github-flow-practice.git | |
* [new branch] mod-readme -> mod-readme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment