Working with GIT in Oracle Visual Builder Studio - Creating Repository, Branches and managing protection setting

 


In this post, we will see how to work with GIT in Oracle Visual Builder Studio:

  • Creating new repositories
  • Creating new branches
  • Changing protection setting of the branches


  • Log in to Oracle Visual Builder Studio
  • Once you log in to the instance, you will be presented with the Organization Tab in which All Projects will be listed in which you are a member of those projects. For example, here the user is a member of two projects:
  • Click on the Owner option to view the projects in which you are the owner. For example, here the user owner of only one project:


  • In case there are multiple projects in which you are the member or owner, you can mark the project as Favorite and it will be shown when you select the option Favorites.
  • Click on the Project Name to open it
  • Once you click on Project Name all the options will be enabled and you will be presented with Project Name

  • Now in Project Home -> Repositories Section, click on Create Repository button  

  • Enter the repository name and description


  • It will create the repository with the main branch and README.md file containing the Repository Name and Description:




  • To Clone the given branch, click the clone button and then copy the HTTPS URL, and then use any git cloning tool to clone the repository to your system. I prefer using GitHub Desktop because of its simplicity and user-friendly UI.  



  • Click on Refs tab to view all the branches of your repository and create new branches by clicking on Create Branch button.

  • Enter the Branch Name, select Base Branch (files from which will be cloned to this new branch), and also you can select the check box to make the branch private. And then click on Create button


  • To change the branch protection click on three dots in front of the branch name and select Protection Setting:


  • There are mainly four protection settings for the branches







Comments