laughedelic / gtm

:stopwatch: git task/time manager
86 stars 10 forks source link

fatal: Couldn't find remote ref refs/notes/timetracker #73

Open florianlebrenn opened 9 years ago

florianlebrenn commented 9 years ago

Hello,

With an existing project with two remotes (origin and be), I encountered two fatal errors after "gtm init" :

Trying to fetch and merge remote timetracker notes... fatal: Couldn't find remote ref refs/notes/timetracker fatal: Cannot merge empty notes ref (refs/notes/remotes/origin/timetracker) into empty notes ref (refs/notes/timetracker)

Thank you in advance,

laughedelic commented 9 years ago

Hi @florianlebrenn! I guess, you didn't have timetracker notes on the remote before. Then it's normal: gtm tries to fetch notes, which are not there yet, but everything should work fine afterwards. I should improve the message, so that it doesn't look like an error. About having two remotes.. I'm not sure wether it will work fine, because I never had this usecase and I think sometimes gtm defaults remote to origin... How do you want to use it for both remotes?

florianlebrenn commented 9 years ago

Ok thanks for your answer.

Second remote is just a copy of the first remote (one on github ans one on bitbucket). I can close this ticket.

Bye.

laughedelic commented 9 years ago

I'll leave it open as a reminder for myself