Skip to content

Problem with checkout develop #76

Answered by TheAlbertDev
venteo22 asked this question in Q&A
Discussion options

You must be logged in to vote

The problem was solved during a videoconference. The problem was that a branch called develop/<something> had been created and that's why it didn't allow to create a develop branch. Internally, git stores branches as directories and files. If we do a branch restructure like:

  • develop/A
  • develop/B
  • develop/C

git internally creates a develop folder and inside it puts the branches A, B and C. Since you have created a develop folder, there can no longer be a file (and therefore a branch) with the same name.

You can test how you can't create a folder and a file with the same name in the same folder.

To solve this, we renamed the branch develop/<something> to lab/<something> and then we were a…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TheAlbertDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants