== Some tips for git ==

git rebase -i $(git merge-base HEAD master)
rebase everything what was done in a (feature) branch interactively

git stash
save everything away

git stash apply
restore it

push a remote branch, e.g. the local 0.7 to a new remote branch 0.7

git push origin 0.7:refs/heads/0.7


== Get your git repo online ==

(Everything on the machine which should serve the repo)
1.) To access the git repo via ssh, this is enough:
Copy the copy to /home/ftp/git/$REPO (or anywhere else,
this folder is used at step 2)

2.)To get access over the read-only git protocol
(git-deamon-run must be installed)
  sudo ln -s /home/ftp/git/$REPO/.git /var/cache/git/$REPO
  touch /home/ftp/git/$REPO/.git/git-daemon-export-ok


You are done!

To clone the repo ssh-users can do after step 1:
  git-clone mr:/home/ftp/git/elektra

after step 2 everyone (with internet connection) can do:
  git-clone git://www.markus-raab.org/git/elektra

References:
http://www.die-welt.net/index.php/blog/199/Notes_on_serving_Git_with_Debian
Sam Feb 4 19:24:02 CET 2012
anybrowser.gif elektra.jpg patent_button.gif valid-css.png valid-html401.png vim.gif