Create git remote reposytory

Login to remote server
[code lang="shell"]
Once logged in
[code lang="shell"]
mkdir example.git
cd example.git
git --bare init
Local host
[code lang="shell"]
mkdir example
cd example
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@REMOTE_SERVER:example.git
git push origin master


Popularne posty z tego bloga

Set up JBoss AS 5.1.0 and Seam 2.2.0 in Ubuntu 9.04