Skip to content

Commit 1bb6b22

Browse files
committed
first time pushing from local master to origin master
1 parent bbd76e5 commit 1bb6b22

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,19 @@ git push -u origin master
4242
- again let's - git remote, we will see something called origin
4343
- we can try again - git branch, we will see the same situation
4444

45-
3.
45+
3. Okay, so far so good, we missed something from the last instructions though which was given by github repository
46+
- let's try - git push -u origin master
47+
- github repository is now having just nothing
48+
- so if we try like - git push instead of git push -u origin master, we will have something like - git push --set-upstream origin master
49+
- after doing so, we will see much like these:
50+
51+
```
52+
To https://github.com/Shohan494/git-test-repo.git
53+
* [new branch] master -> master
54+
```
55+
- check your github.com repository, you will find your local repository has been transferred there, nicely
56+
57+
4.
4658

4759
* main source will be sent/uploaded/synced with github finally
4860

0 commit comments

Comments
 (0)