Re: Unable to delete remote branch with a strange name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andreas Schwab <schwab <at> linux-m68k.org> writes:
> 
> Jingzhao Ou <jingzhao.ou <at> gmail.com> writes:
> 
> > I guess somehow, git is confused by "origin/dev/main" and 
> > "origin/remotes/origin/dev/main". Especially, it cannot identify the latter
> > properly.
> 
> Try fully qualifying the remote branch (beginning with refs/heads/).
> 
> Andreas.
> 

Hi, Andreas,

Yes, using the absolute path works like a champ! 

git push origin :refs/heads/remotes/origin/dev/main

Thanks a lot for your help!

Jingzhao




--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]