[git-users] Re: Removing origin/master from local repository after github master rename ?

2021-11-20 Thread skybuck2000
This website showed an interesting command, in the output git gives a hint how to remove a stale. My first attempt failed, second attempt was successfull: E:\SourceCode\PascalCoinGit\PascalCoin>git remote prune origin/master fatal: 'origin/master' does not appear to be a git repository fatal:

[git-users] Re: Removing origin/master from local repository after github master rename ?

2021-11-20 Thread skybuck2000
Another one in here: E:\SourceCode\PascalCoinGit\PascalCoin\.git\logs\refs\remotes\origin I will try rename both to see what happens Now didn't help much, I renamed both to originalmaster and then branch -r showed: origin/master origin/originalmaster So renamed them back to master... hmmm...

[git-users] Re: Removing origin/master from local repository after github master rename ?

2021-11-20 Thread skybuck2000
I tried moving this master file elsewhere it had some effect on the graph but even after moving git branch -r still shows it... so there is more to it... The hash pointed to some merge of remote/master into master and then there are some more commits like that. I will check other git files to

[git-users] Re: Removing origin/master from local repository after github master rename ?

2021-11-20 Thread skybuck2000
Also I see this file master in E:\SourceCode\PascalCoinGit\PascalCoin\.git\refs\remotes\origin Perhaps delete this file to get rid of it ? Is this safe ? :) There seems to be some hash inside of it. Bye, Skybuck. On Sunday, November 21, 2021 at 1:55:41 AM UTC+1 skybuck2000 wrote: >

[git-users] Re: Removing origin/master from local repository after github master rename ?

2021-11-20 Thread skybuck2000
Just to be clear the local master branch was also renamed to SkybuckMaster. But origin/master still shows up ? Kinda strange ? Any explanation why this is and if it can be completely removed ? (Maybe destroying old commits might allow to do that, but if it's possible to do without