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: > Checking the hidden files of git, I find this, maybe this has something to > do with it: > > packed-ref file: > > # pack-refs with: peeled fully-peeled sorted > 5dc3f5fb2342d306a029d7d4058fe28fd2daeee2 refs/remotes/origin/MergeTest > 5a3a8b283ae8aa37272485fd9711b6d1e5ec33a8 refs/remotes/origin/master > 0000c33018784335daf4b47f622b88a76971855c refs/tags/1.5.6 > 262352cfb06842492d7e666cbd503f9b3b27578b refs/tags/2.0 > 68ac8ba519bf59541fc9009a0682abb8220cbba4 refs/tags/2.1.2 > 7980dfc903f716f493c28ba8d5ff323d6900fee4 refs/tags/2.1.3 > > On Sunday, November 21, 2021 at 1:47:33 AM UTC+1 skybuck2000 wrote: > >> 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 destroying old commits that would be better ofcourse >> ;)) >> >> I also tried >> git fetch --prune >> >> But that did not help. >> >> git branch -r >> >> still shows origin/master >> >> to be present ? >> >> pushing or delete origin/master like so will give an error message kinda >> proving it's already gone ? >> >> git push origin --delete master >> error: unable to delete 'master': remote ref does not exist >> >> git push origin --delete origin/master >> error: unable to delete 'origin/master': remote ref does not exist >> >> git fetch origin >> >> git branch -r >> >> origin/master >> >> still shows up in bottom ?! >> >> Weird or what ?! =D >> >> Bye, >> Skybuck. >> On Sunday, November 21, 2021 at 1:42:32 AM UTC+1 skybuck2000 wrote: >> >>> Hello, >>> >>> After renaming the github default branch "origin/master" to >>> "origin/SkybuckMaster" I notice that on the local repository there is still >>> some left over origin/master. >>> >>> When typing for example: >>> git branch -a >>> or >>> git branch -r >>> >>> It will still show origin/master >>> >>> Is this because in the past merges/commits and such where done onto this >>> remote branch ? >>> >>> Or is it possible to somehow remove origin/master from local repository. >>> >>> I may want to re-use origin/master in the future ? >>> >>> Bye, >>> Skybuck. >>> >> -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/7f8c26b8-973a-46a4-bba0-17cca99bc7ean%40googlegroups.com.