Git: Changing the branch to a new one with the same name

Introduction

Sometimes you might want to ask about potential consequences with regard to the situation where you would like to delete an active branch, create it anew and name it in the same way as the original branch.


Specifics

Once you delete a particular branch and create it again with the same name, in the same repository, there will be no need to change the bucket configuration. The connector will seamlessly recognize a newly-created branch as its source.

IMPORTANT!

On no account try to open the bucket during the process between deleting the branch and creating it again because if the XTM connector will send a request to your repository and will not find the deleted branch, you might likely break the configuration on the database!