I am attempting to commit changes made locally to a remote repository using git-bash
git svn dcommit
results in
<filename>: needs update
update-index --refresh: command returned error: 1
I have tortoiseGIT installed on my machine, and if I do the commit by rightclicking my local repository and Git Commit -> Master…
then the commit works fine.
2 questions, is this the same as doing a git svn dcommit?
and, why am I getting the error from teh command line?
thanks in advance
I wasnt really aware of the order that I needed to do things to make a commit.
I now do the following steps to make a remote commit and it works fine:
I then add a note to the commit as prompted. I had trouble figuring out the VIM format, but the steps to add a note are press ‘i’ to get to ‘Insert’ mode. Add my note, press ‘esc’, type 😡 to save my note.
and Voila! everything works!