summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-09-03 14:27:26 +0200
committerxengineering <mail2xengineering@protonmail.com>2020-09-03 14:27:26 +0200
commit726baeba02e0d10c98ff3b55a65c2fe03808bec3 (patch)
tree0362e08e91345f479b7a03954857110a5e80c9ad
parentc21fda4b08b4899ebf4b9eb13d0bb1e0aab15cbe (diff)
downloadpicontrol-726baeba02e0d10c98ff3b55a65c2fe03808bec3.tar
picontrol-726baeba02e0d10c98ff3b55a65c2fe03808bec3.tar.zst
picontrol-726baeba02e0d10c98ff3b55a65c2fe03808bec3.zip
Add force push Disclaimer
-rw-r--r--README.md5
1 files 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 <myproject-upstream-url>
+git remote add origin <myproject-upstream-url> # use ssh url here
git branch -M master
-git push -u origin master
+git push -uf origin master
```