The question here has a similar issue: Why is old name of git remote sill in .git/refs/remotes?. Following the advice there, I deleted the
.git/logs/refs/remotes/old-alias/
.git/refs/remotes/old-alias/
directories manually. There are residual logs in .git/logs/HEAD
and .git/logs/refs/heads/someotherbranch
:
./logs/HEAD:14:6d8019... Ayberk Özgür <ayberk.ozgur@email.com> 1394819391 +0100 pull old-alias someotherbranch: Fast-forward
./logs/refs/heads/android:13:6d8019... Ayberk Özgür <ayberk.ozgur@email.com> 1394819391 +0100 pull old-alias someotherbranch: Fast-forward
I don't exactly know if those are the only traces left of old-alias
or whether they may be harmful. However, I haven't encountered any issues so far.