Local Branching Process (GIT, GITHUB)
Hi all,
In this article, I am going to explain the local branching process and if you join as a new member in any automation project, which steps you need to follow for local branching
Step 1
Step 2
Git Clone <repository URL>
For example:
Git Clone https://github.com/nancytestdemo/NewProjectDemo
After cloning, it will show like this:
Step 3
领英推荐
Step 4
Now as a new team member, you need to do the local branching as you can't start working on the master branch. Please follow the below steps for local branching
Git branch
It will show you the branch name in which you are currently.
Git branch <branchname>
For example
Git branch Feature
It will create a new branch as "Feature"
Git checkout <branchname>
For example
Git checkout Feature
You are now switched to the branch "Feature"
Step 5
You need to ensure that in your IDE, you are working in your "Feature" branch, please follow the below steps to check
SEO Analyst
1 年Click here to learn how Git branching strategies play a crucial role in managing code development, collaboration, and version control. bit.ly/3XRWRF3
Test Automation Engineer | Tech Educator, YouTuber
2 年Good article on Git branching. Useful to beginners.
Sr Technical Lead | USA B1/B2 Visa Holder | SDET | Selenium | Java | Cypress | Playwright | JavaScript | Typescript | API Testing | Automation Testing | Manual Testing |
2 年Nice Notes