User Tools

Site Tools


computing:gitsurvival

This is an old revision of the document!



  • 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 2019/08/14 15:18

computing/gitsurvival.1573337946.txt.gz · Last modified: 2019/11/09 22:19 by oemb1905