J
J
Jekson2020-03-05 11:03:19
git
Jekson, 2020-03-05 11:03:19

How to create a branch with such a structure?

there are three main branches

  • -master
  • -develop
  • -feature


You need to create branches with a similar structure feature/RT-38-deploy-guide, i.e. it is important that it starts with feature/.. and then it doesn’t matter what happens.
I tried this, but
git checkout -b feature/RT-38-deploy-guide
fatal: cannot lock ref 'refs/heads/feature/RT-38-deploy-guide': 'refs/heads/feature' exists; cannot create 'refs/heads/feature/RT-38-deploy-guide'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Simankin, 2020-04-24
@VladimirNSimankin

If a feature branch exists, it is not possible to create feature/* branches. As Aleksey Ten
wrote in the comments , you need to delete the feature branch and create branches like feature/*.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question