error : git branch 명령을 통해 새로운 branch를 만드려고 했지만, 위와 같은 메세지가 출력되면서 branch는 만들어지지 않습니다.

 

reason : master branch에서 commit을 수행하지 않았기 때문입니다.

 

solution : master branch에서 git add, git commit을 수행합니다.

 

$ git add .

$ git commit -m "[커밋내용]"

$ git branch [새 branch 이름]

$ git checkout [새 branch 이름]

// 모든 branch 확인
$ git branch

+ Recent posts