I created a repository using "git svn -s http://<svn repository
pointer>/myProject.html myProject.git

on a platform that I will call gitserver. I the created a local work
area on my machine using
"git clone gitserver:MyProject"

I made local changes and committed the changes in my local area. When
I wanted to push it to my local area, I got an error message

git push
remote: error: refusing to update checked out branch: ref/heads/master
remote: error: By default, updating the current branch in a non-bare
remote: error: is denied, because it will make the index and work tree
remote: error: with what you pushed, and will require 'git reset --
hard' to match
remote: error: the work tree to HEAD.

I thought from reading the push information that this is what would be
used to put the changes in the central repository. I had wanted to set
up a central git repository for the project team so that they would
not need to get to the original svn repository.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to