I have rather big amount of file in repository. Thus git sometimes crashes due to out of memory exception during rebasing changes.
E.g.
git checkout feature
git rebase master
(nasty out of memory exception)
.....
So once I got that exception, I tried again rebasing
git rebase master
And it told me that branch feature
is up to date. That seems strange, as rebase finished with exception.
Are there any way to avoid oom exception? May be somehow tell git use smaller amount of memory. Could this exception be cause of repository corruption? If it causes corruption are there any way safely roll back changes made during rebase to state that was before git rebase master
was called?