News for hackers. Stuff that matters.
Re:Top things to do after setting up EC2 AWS server? by vtempest on Monday May 19, 2014 @01:02AM (#7765781)
How to backup you web code on git:

cd ~/.ssh ssh-keygen -t rsa -C "[email protected]" vi ~/.ssh/id_rsa.pub #copy this into a new key https://github.com/settings/ssh #now create a new git repo https://github.com/new cd /var/www sudo apt-get install git git init git add * git commit -a -m "init" git remote add origin [email protected]:yourname/repo.com.git git push -u origin master

There are no comments on this comment yet.