Skip to content

Commit ff3ec7f

Browse files
committed
we will do git push -u origin develop
1 parent be20504 commit ff3ec7f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)