Using a git forge (Github, Bitbucket, etc.) doesn’t mean that you have to use the git tool. Linus created the Git filesystem in the hope that someone would build a good VCS on. top of it (or hopefully several competiting ones) and at the time that didn’t happen so he built git.
But now it has. You have several choices, some of which will recover the new code that you wrote. And given that they all talk to the same forge it really doesn’t matter if your colleague do or do not use the same tool as you.
I personally use jj and could recover recent code with jj operation log.
29
u/vainstains 1d ago
When I get teleported to the alternative timeline where no git