diff options
| author | xengineering <mail2xengineering@protonmail.com> | 2020-09-03 14:27:26 +0200 |
|---|---|---|
| committer | xengineering <mail2xengineering@protonmail.com> | 2020-09-03 14:27:26 +0200 |
| commit | 726baeba02e0d10c98ff3b55a65c2fe03808bec3 (patch) | |
| tree | 0362e08e91345f479b7a03954857110a5e80c9ad | |
| parent | c21fda4b08b4899ebf4b9eb13d0bb1e0aab15cbe (diff) | |
| download | web-template-726baeba02e0d10c98ff3b55a65c2fe03808bec3.tar web-template-726baeba02e0d10c98ff3b55a65c2fe03808bec3.tar.zst web-template-726baeba02e0d10c98ff3b55a65c2fe03808bec3.zip | |
Add force push Disclaimer
| -rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 ``` |
