![]() However, in TortoiseGit you may also delete remote branches through Browse References:īy right-clicking on a remote branch (remotes list) the Delete remote branch option shows up:Īfter deleting the old remote branch I pushed directly into a new remote branch through TortoiseGit just by typing the new name in the Remote: field of the Push window and this branch was automatically created and visible in Bitbucket. I am also using Bitbucket and, as others web-based online git managers of the sort (GitHub, GitLab), I was able to delete the remote branch directly through their interface (branches page): git.exe push -progress "my_project" interesting_local:interesting). Moreover, I noticed that TortoiseGit commands do not have the origin ref in them (e.g. ![]() This was likely due to pageant not having the private key loaded (which TortoiseGit loads automatically into pageant). Please make sure you have the correct access rights and the repository exists. I use TortoiseGit and when I first tried to delete the branch through the command line, I got this: $ git push origin :inįatal: 'origin' does not appear to be a git repositoryįatal: Could not read from remote repository. push into a new remote branch (difference between a couple of answers commands below).deletion of the old remote branch ( git push : as ksrb explained). ![]() "Renaming" a remote branch is actually a 2 step process (not necessarily ordered):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |