(I posted the “question” to Chad as an answer, fixed the formatting and typos.)
There are several reasons for this error message.
The first, being the most common. There are two disjoint stories in your git repository: the story you created in git, and the story from a remote svn repository.
To fix this, you need your git repository and svn repository to have one common ancestor so that git can understand which commits have changed and what.
The following article discusses how to solve the problem:
The second possible cause of the problem is if you have an earlier version of git (possibly the windows package msysGit) and you just created a new git repository that interacts with the remote svn repository.
For example:
git svn init svn://svn.xxx.xxx/xxx/trunk git svn fetch -r BASE:10
or
git clone svn:
And you get the following error messages when using the following commands.
git svn info
Unable to determine upstream SVN information from the working tree or
git svn rebase
it is impossible to determine upstream svn information, working history of a tree or
git svn dcommit
Unable to determine upstream SVN information from HEAD history
If you get the above error messages, first check the git version. If you are using an older version of git <= 1.6.3.3. *, Which was in my case with (msysGit), the easiest way to solve the problem is to update it to the latest version of git, such as 1.6.4. *.
The following article discusses the problem in more detail.
bstpierre Aug 10 2018-10-10T00: 00Z
source share