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/69e20063-0e6d-4e35-9865-705ff9456ffen%40googlegroups.com.

Reply via email to