This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| code:github:repository_setup [2020/03/29 19:17] – created ltsover9000 | code:github:repository_setup [2021/07/25 04:14] (current) – ltsover9000 | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| git commit -m "first commit" | git commit -m "first commit" | ||
| git remote add origin https:// | git remote add origin https:// | ||
| - | git push -u origin | + | git push -u origin |
| </ | </ | ||
| Line 17: | Line 17: | ||
| <code bash> | <code bash> | ||
| git remote add origin https:// | git remote add origin https:// | ||
| - | git push -u origin | + | git push -u origin |
| + | |||
| + | |||
| + | ## SSH VERSION | ||
| + | |||
| + | git remote set-url origin git@github.com: | ||
| + | git remote add origin git@github.com: | ||
| + | git push -u origin main | ||
| </ | </ | ||