Cannot pull/push my git repository anymore. "Merge conflicts" -


i have made changes project repository in several files. commited , didn't pushed em. later i've found bug in code , opened git log revert last commit. since did commit has disappeared log, , cannot both push or pull repository due error.

i've tried making new commit changed error message on pull/push:

an error raised libgit2. category = 21 (mergeconflict). 5 uncommitted changes overwritten merge

git status message:

on branch master

your branch , 'origin/master' have diverged, , have 1 , 1 different commit each, respectively. (use "git pull" merge remote branch yours)

commited vs 2013, using log tortoisegit. happend , how push/pull , bugged commit changes?

your branch , 'origin/master' have diverged, , have 1 , 1 different commit each, respectively.

to resolve "divergence", can a:

git pull --rebase git push 

that replay commits on top of recent origin/master ones, , allows push proceed.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -