diff --git a/README.md b/README.md index 8c35adc..aab4989 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`. * [Get first commit in a branch (from master)](#get-first-commit-in-a-branch-from-master) * [Unstaging Staged file](#unstaging-staged-file) * [Force push to Remote Repository](#force-push-to-remote-repository) +* [Adding Remote name](#adding-remote-name) @@ -858,5 +859,10 @@ git reset HEAD git push -f ``` +## Adding Remote name +```sh +git remote add origin +``` + diff --git a/tips.json b/tips.json index d6dcefa..9477ad5 100644 --- a/tips.json +++ b/tips.json @@ -376,4 +376,7 @@ }, { "title": "Force push to Remote Repository", "tip": "git push -f " +}, { + "title": "Adding Remote name", + "tip": "git remote add origin " }]