diff --git a/Contributors.md b/Contributors.md index 433a6fb116ad06f527bbdb1e6ca9aff3f58e76ed..d1d6983a3cf8a6b740c1a26a18535f32cad6d5b5 100644 --- a/Contributors.md +++ b/Contributors.md @@ -7,6 +7,7 @@ - [Shashwat Shah](https://github.com/shashwat-shah) - [Megha Juneja](https://github.com/mjunej) - [The Singularity is Near](https://github.com/standardAI) +- [BaraahAbusara](https://github.com/BaraahAbusara) - [Nitinram Velraj] (https://github.com/nitinramvelraj) - [Mark Timothy Advento] (https://github.com/markadv/) - [Vlad Romanov] (https://github.com/VRomanov89) diff --git a/additional-material/git_workflow_scenarios/why-using-branches.md b/additional-material/git_workflow_scenarios/why-using-branches.md index dff7f040d1c86e0c2ba44f8843637d2061ab4b5f..5eb54d8736f2a93130a4dbaffde968dd4dd89b63 100644 --- a/additional-material/git_workflow_scenarios/why-using-branches.md +++ b/additional-material/git_workflow_scenarios/why-using-branches.md @@ -42,6 +42,13 @@ git branch AnyBranchName A new branch will be created named AnyBranchName and all the file changes in this branch will not be affected in the main branch. For detailed explanation refer [How to create branch](https://www.atlassian.com/git/tutorials/using-branches) +#### Navigate into the branch + +``` +git checkout AnyBranchName +``` + +That way you will go from your current branch into your new branch and all the file changes in this branch will not be affected in the main branch. #### Delete the branch