This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| computing:gitsurvival [2019/11/09 22:19] – oemb1905 | computing:gitsurvival [2019/11/09 23:03] (current) – removed oemb1905 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ------------------------------------------- | ||
| - | * **gitsurvival** | ||
| - | * **Jonathan Haack** | ||
| - | * **Haack' | ||
| - | * **netcmnd@jonathanhaack.com** | ||
| - | |||
| - | ------------------------------------------- | ||
| - | |||
| - | Make and account at the Haacking Club repository first. | ||
| - | |||
| - | cd ~ | ||
| - | ssh-keygen | ||
| - | cat ~/ | ||
| - | |||
| - | Then, ssh into your vps and do something like this: | ||
| - | |||
| - | cd ~ | ||
| - | mkdir git | ||
| - | cd git/ | ||
| - | git clone git@hc.jonathanhaack.com: | ||
| - | cd haackingclub | ||
| - | touch yourname.notes | ||
| - | nano yourname.notes | ||
| - | git add yourname.notes | ||
| - | git commit -am" | ||
| - | git pull | ||
| - | git push | ||
| - | | ||
| - | |||
| - | #Make nano default editor | ||
| - | git config --global core.editor " | ||
| - | |||
| - | #Make ssh default connection method - example | ||
| - | git remote set-url origin <ssh address of git repo here> | ||
| - | |||
| - | | ||
| - | Happy Haacking. | ||
| - | |||
| - | --- // | ||