Obsidian Git Error

Hi all,

I hope you’re well,

Obsidian Git has been working for me perfectly until now, randomly, I’ve started getting this error, does anyone know what might be causing it/how to fix it? I haven’t modified the repo in any way.

warning: ignoring broken ref/refs/remotes/origin/main
fatal: bad revision 'origin/main'

Many thanks in advance :slight_smile:

I don’t know the answers but I’d search the web for those errors plus “git”.

I have got the same error twice this week. I obviously can fix it with git commands, but something is happening with Git plugin :frowning:

Same error, every time the plugin commits changes. But it works.