Creating New Branch on Github without using any IDE
Git is an open-source version control system. It means that whenever a developer develops some project (like an app or website) or something, he/she constantly updates it catering to the demands of users, technology, and whatsoever it maybe, Git is a version control system that lets you manage and keep track of your source code history. Let’s say you have a project and you have uploaded that on GitHub and now want to make some changes in it. But it may be possible that you may require the previous code. To make this happen, We will create a branch in our branch on Github. Here, We are going to learn how to create new branch without using any IdE.
Step By Step Implementation
Step 1: Go to file and click on the Edit button as shown in the below image.
Step 2: Then make the required changes in the file and then go to the bottom and click on Create a new branch for this commit and start a pull request. Learn more about pull requests and then name your branch and click on Propose Changes and a new page will open.
Step 3: Then go to the main page of your project by clicking on Code at top and check all branches by clicking on the button master. Here you will see your newly created branch. And after moving to that branch you can find the changes done by you.
Step 4: If you find that you want to merge those changes into the master branch then click on Compare & pull request. Then Click on Create Pull Request.
Step 5: Click on Merge Pull Request.
Step 6: Click on Confirm merge and you have successfully merged your newly-created branch with your master branch.
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses
are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!