[git-users] Setting up git with smart HTTP and apache2

2013-04-22 Thread Sebastian Schmidt
Hi! I'm trying to set up smart HTTP with apache2 for a few days now. None of the tutorials I tried just don't work, I have no idea why. I seems like the git client isn't even trying to use smart HTTP, it is directly requesting the info/refs file. Is that how it should be? I'm using this

Re: [git-users] what does a “git reset --hard origin” actually do?

2013-04-22 Thread Morte Sjøgren
I must admit that I've no idea what a git reset --hard origin does exactly, but you can compare the logs to see the differences. Use git reflog to see the commit hash before the reset common, then you can do a git log HASHISH..HEAD and git log HEAD..HASHISH Where HASHISH is the hash-key you

Re: [git-users] Setting up git with smart HTTP and apache2

2013-04-22 Thread Konstantin Khomoutov
On Mon, 22 Apr 2013 10:08:36 -0700 (PDT) Sebastian Schmidt isib...@gmail.com wrote: I'm trying to set up smart HTTP with apache2 for a few days now. None of the tutorials I tried just don't work, I have no idea why. I seems like the git client isn't even trying to use smart HTTP, it is

Re: [git-users] what does a “git reset --hard origin” actually do?

2013-04-22 Thread Konstantin Khomoutov
On Mon, 22 Apr 2013 10:22:45 -0700 (PDT) Carlos Pérez infini...@gmail.com wrote: A friend did a git reset --hard origin. He did that instead of going git reset --hard origin/branch_name which is what he actually intended. After that he pushed his changes. [...] As one of the folks who