|
|
|
@ -32,6 +32,8 @@ |
|
|
|
git rm --cached -r dir |
|
|
|
git rm --cached -r dir |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## push existing project to Git |
|
|
|
|
|
|
|
|
|
|
|
<details> |
|
|
|
<details> |
|
|
|
<summary>push existing project to Git</summary> |
|
|
|
<summary>push existing project to Git</summary> |
|
|
|
|
|
|
|
|
|
|
|
@ -42,9 +44,9 @@ git rm --cached -r dir |
|
|
|
git remote add origin https://github.com/cameronmcnz/example-website.git |
|
|
|
git remote add origin https://github.com/cameronmcnz/example-website.git |
|
|
|
git push -u -f origin master |
|
|
|
git push -u -f origin master |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
</details> |
|
|
|
</details> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
============ |
|
|
|
|
|
|
|
|
|
|
|
Git Commands |
|
|
|
Git Commands |
|
|
|
============ |
|
|
|
============ |
|
|
|
|