From 726baeba02e0d10c98ff3b55a65c2fe03808bec3 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 3 Sep 2020 14:27:26 +0200 Subject: Add force push Disclaimer --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 57f8039..70c1b59 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,11 @@ git branch --unset-upstream master ``` ### Add a Remote for your specific Project +**This could delete data on your remote (git push -f)!** It is no problem if the remote repository is empty (e.g. if you just created it on GitHub). ``` -git remote add origin +git remote add origin # use ssh url here git branch -M master -git push -u origin master +git push -uf origin master ``` -- cgit v1.2.3-70-g09d2