search
LoginSignup
6

More than 3 years have passed since last update.

posted at

fatal: Not a valid object name: 'master'. て言われたときどうした?

$ git branch master
fatal: Not a valid object name: 'master'.

master ブランチを作ろうとしたら怒られたので、

$ git add .
$ git commit -m "First commit."

コミットすることで master ブランチを作って迂回したっす:relaxed:

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
6