#topicpath ---- #contents リポジトリのクローン、ローカルのブランチの作成、リモートのブランチへのプッシュの流れ *** リポジトリのクローン [#y4ef8b87] $ git clone https://github.com/xxxx/hello.git Cloning into 'hello'... remote: Counting objects: 3, done. remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (3/3), done. Checking connectivity... done. $ cd hello $ git branch * master masterブランチのクローンができました *** ローカルのブランチの作成 [#y394a075] $ git branch -r origin/HEAD -> origin/master origin/master $ git branch develop $ git branch develop * master ローカルにブランチができました $ git checkout develop Switched to branch 'develop' $ git branch * develop master 作成したローカルのブランチに移動できました。 ***リモートのブランチへのプッシュ [#pe43a514] $ git push origin develop Username for 'https://github.com': Password for 'https://xxxxxxxx@github.com': Total 0 (delta 0), reused 0 (delta 0) To https://github.com/xxxxxx/hello.git * [new branch] develop -> develop $ git branch -r origin/HEAD -> origin/master origin/develop origin/master リモートのブランチが作成されました。 $ git branch * develop master ---- この記事は #vote(おもしろかった,そうでもない) #comment #topicpath SIZE(10){現在のアクセス:&counter;}