File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
124
124
* [ Get first commit in a branch (from master)] ( #get-first-commit-in-a-branch-from-master )
125
125
* [ Unstaging Staged file] ( #unstaging-staged-file )
126
126
* [ Force push to Remote Repository] ( #force-push-to-remote-repository )
127
+ * [ Adding Remote name] ( #adding-remote-name )
127
128
128
129
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
129
130
<!-- @doxie.inject end toc -->
@@ -858,5 +859,10 @@ git reset HEAD <file-name>
858
859
git push -f < remote-name> < branch-name>
859
860
```
860
861
862
+ ## Adding Remote name
863
+ ``` sh
864
+ git remote add origin < remote-url>
865
+ ```
866
+
861
867
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
862
868
<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 376
376
}, {
377
377
"title" : " Force push to Remote Repository" ,
378
378
"tip" : " git push -f <remote-name> <branch-name>"
379
+ }, {
380
+ "title" : " Adding Remote name" ,
381
+ "tip" : " git remote add origin <remote-url>"
379
382
}]
You can’t perform that action at this time.
0 commit comments