From 3839cd9dbe7e34765892120ec6c164b5c1d74695 Mon Sep 17 00:00:00 2001 From: S N Munendra Date: Sat, 25 Jun 2016 11:32:14 +0530 Subject: [PATCH] tip to add remote name Update tips --- README.md | 6 ++++++ tips.json | 3 +++ 2 files changed, 9 insertions(+) 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 " }]