User Tools

Site Tools


computing:gitsurvival

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
computing:gitsurvival [2019/11/09 16:03]
oemb1905 removed
— (current)
Line 1: Line 1:
  
-------------------------------------------- 
-  * **gitsurvival**  
-  * **Jonathan Haack** 
-  * **Haack's Networking** 
-  * **netcmnd@jonathanhaack.com**  
- 
-------------------------------------------- 
- 
-Make and account at the Haacking Club repository first.  Then, add your ssh key to the repository.  Here is how you generate one and get your public key: 
- 
-  cd ~ 
-  ssh-keygen 
-  cat ~/.ssh/id_rs.pub 
- 
-Then, ssh into your vps and do something like this: 
- 
-  cd ~ 
-  mkdir git 
-  cd git/ 
-  git clone git@hc.jonathanhaack.com:oemb1905/haackingclub.git 
-  cd haackingclub 
-  touch yourname.notes 
-  nano yourname.notes 
-  git add yourname.notes 
-  git commit -am"added my notes file and put my project description in it" 
-  git pull 
-  git push 
-   
- 
-#Make nano default editor 
-git config --global core.editor "nano" 
- 
-#Make ssh default connection method - example 
-git remote set-url origin <ssh address of git repo here> 
- 
-   
-Happy Haacking. 
- 
- --- //[[oemb1905@jonathanhaack.com|oemb1905]] 2019/08/14 15:18//