un twitter personal en tu server usando git (?)
en tu server preferido:
en tu maquina:
se aceptan mejoras de todo tipo :D
[galaxy]$ git init --bare me.git
Initialized empty Git repository in /home/marianoguerra/marianoguerra.com.ar/me.git/
[galaxy]$ cat me.git.php
<?
header("Content-type: text/plain");
system("git log --pretty=format:\"%aD %an: %s%n%b%n\"");
?>
[galaxy]$ cp me.git.php me.git/index.php
en tu maquina:
[mariano@ganesha ~]$ git clone ssh://marianoguerra@marianoguerra.com.ar/home/marianoguerra/marianoguerra.com.ar/me.git/
Cloning into me...
marianoguerra@marianoguerra.com.ar's password:
warning: You appear to have cloned an empty repository.
[mariano@ganesha ~]$ cd me
[mariano@ganesha me]$ git commit --allow-empty -m "hello world"
[master (root-commit) 5bce037] hello world
[mariano@ganesha me]$ git push origin master
marianoguerra@marianoguerra.com.ar's password:
Counting objects: 2, done.
Writing objects: 100% (2/2), 171 bytes, done.
Total 2 (delta 0), reused 0 (delta 0)
To ssh://marianoguerra@marianoguerra.com.ar/home/marianoguerra/marianoguerra.com.ar/me.git/
* [new branch] master -> master
[mariano@ganesha me]$ curl http://marianoguerra.com.ar/me.git/
Tue, 5 Jul 2011 12:46:17 +0100 Mariano Guerra: hello world
se aceptan mejoras de todo tipo :D