I think I said that everything is correct.
I have an intermediate server with Git on it, my friend and I push the changes to this Git repository from our local clones of this repo, when we are ready to do something public, we flag it all this, but then I have to do git reset --hardso update the actual files on the server to HEAD, which seems a little strange to me.
I think the problem may be a fundamental misunderstanding of how Git works. Usually I share my code on my local repo, work on it, and then combine it with the master repo, then git push, is that right?
Sorry, I'm pretty new when it comes to git, any resources for working with remote Git repositories would be greatly appreciated, thanks!
source
share