$ git clone git@git.example.com:hoge/hoge.git hoge
$ cd hoge
$ git checkout --orphan new_branch_name
$ git rm -rf .
$ touch README.md
$ git add README.md
$ git commit -m "Initial commit"
$ git push
Created
August 29, 2016 09:28
-
-
Save youhey/cf57eed713123c09a904aefbed68d5a8 to your computer and use it in GitHub Desktop.
過去を持たない空のブランチを追加したい
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment