Issue #6215 resolved

Bug in branch-name

Corentin Derbois avatarCorentin Derbois created an issue

Hi,

For the new version of bitbucket UI, i seen a bug in the name of branch. To describ the bug i do a screenshot (because my englsih is worst).

I had created branch name "feature/videopage", with only tow commit. But lot of old commit have a tag "feature/videopage" in the tree commit page.

best regard, Corentin Derbois

Comments (4)

  1. Corentin Derbois

    I had created a new branch. Label feature/videopage is set for all old branch. Master, Develop. So if i had 4 branch feature/* my old commit (like the le first commit of my repos) get the label.

    If it's not a bug, i don't found that very beautiful. Because if i had 200 branch, old commit get 200 label. Like here with the label 1 more .... That make a overflow of label.

  2. Brian Nguyen

    Hi Corentin,

    This behavior is a key feature of Git repositories. If you would like to re-use the same branch name you need to first delete the branch after you have merged it.

    git push origin :<branch-name>
    

    You can do this automatically by checking the 'Close branch' checkbox after merging. I have attached a screenshot showing where the checkbox lives.

    Cheers, Brian

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.