File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,16 @@ To https://github.com/Shohan494/git-test-repo.git
6565 - let's create a new branch - git branch develop, this will only create a new one based on the current branch we are using
6666 - check by doing - git branch, the star will point your current branch and will also show you the new branch you have just created
6767 - delete this branch - git branch -d develop
68+ - recreate branch and directly move onto the new branch by - git checkout -b develop, you will see:
69+
70+ ```
71+ Switched to a new branch 'develop'
72+ ```
73+ - just know that, we have created new branch, and basically it is the clone of local master branch
74+ - the changes we will do now will only be changed for this 'develop' branch, not in master, that will remain the same
75+ - for this line we are writing, we will check the changes, and will push this 'develop' branch to remote also
76+ - by using - git push -u origin develop
77+
6878
6979* main source will be sent/uploaded/synced with github finally
7080
You can’t perform that action at this time.
0 commit comments