Not sure exactly how to title this question, because I'm not 100% certain what the problem is. I assume that while downloading the latest changes to our repository a file has been corrupted.
One of our source files came out looking like this:
⼀⼀⼀ 㰀⼀猀甀洀洀愀爀礀㸀ഀഀ
嬀䌀甀猀琀漀洀䔀搀椀琀漀爀⠀琀礀瀀攀漀昀⠀唀䤀圀椀搀最攀琀⤀⤀崀ഀഀ
public class UIWidgetInspector : Editor
笀ഀഀ
enum Action
ऀ笀ഀഀ
None,
ऀऀ䴀漀瘀攀Ⰰഀഀ
Scale,
ऀऀ刀漀琀愀琀攀Ⰰഀഀ
}
ഀഀ
I have no idea why this has happened, but when I look at the file on GitHub is appears fine, and the other programmer is not having this problem. I am assuming that there was some corruption when I fetched the remote branches.
My first instinct was to delete and redownload all of my remote branches, but I have no idea how to do this.
I have tried:
git branch -rd origin/master
And then fetching again, but no data is actually downloaded (presumably because the commits still exist locally).
Basically I have no idea what's going on, and short of cloning the repo again (which I'd rather not do), I am completely lost.