How to push changes to your Etherpad using Git and Github (Debian)

apt-get install git-core 

Goto http://github.com/redhog/pad
Click Fork
Go to http://github.com/YOURUSERNAME/pad
Copy the git@github.com:YOURUSERNAME/pad.git
IE (

git clone git@github.com/johnyma22/pad.git

)
Set the comment.

git commit -a -m "Added Hello World" 
git remote rm origin 
git remote add origin git@github.com:YOURUSERNAME/pad.git 

IE (

git remote add origin git@github.com:johnyma22/pad.gif

)

If you don’t already have an ssh key (

    ssh-keygen -t rsa 

use defaults
cat the path to the .pub (Copy the contents)_
Open up Github.com and login
Click Account settings
Click Add public Key
Give it a title (ie etherpad)
Paste the contents of the .pub file
)

git push

Done =)

Leave a Reply

Your email address will not be published. Required fields are marked *