ssh # remote server
cd ~/Code
mkdir chess.git
cd chess.git
git --bare init

git clone
# This does the same as the above
#mkdir chess
#cd chess
#git init
#git remote add origin

# change some files
git add .
git commit -m "Changed some files"
git push origin master

For my next project for my programming class I've decided to use git on my server as well as the 'ol faithful lappy... just in case lappy dies or something.

Many thanks to the great blogger Tim:

By AJ ONeal

If you loved this and want more like it, sign up!

Did I make your day?
Buy me a coffeeBuy me a coffee  

(you can learn about the bigger picture I'm working towards on my patreon page )