{"thread":{"id":"40843","subject":"git fetch with fetch.prune set bug?","startedAt":"2015-11-20T15:19:22Z","lastAt":"2015-11-20T15:19:22Z","messageCount":1,"participants":["Peter van der Does"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"273550","messageId":"564F39FA.2030107@avirtualhome.com","threadId":"40843","inReplyTo":null,"subject":"git fetch with fetch.prune set bug?","fromName":"Peter van der Does","fromEmail":"peter@avirtualhome.com","sentAt":"2015-11-20T15:19:22Z","receivedAt":"2015-11-20T15:19:22Z","isPatch":false,"sender":{"key":"peter@avirtualhome.com","avatar":"https://avatars.githubusercontent.com/u/380071?v=4"},"body":"Hi,\n\nDoing the following commands:\n$ git config fetch.prune true\n$ git co -b bug/bug-1\nSwitched to a new branch 'bug/bug-1'\n$ touch bugfix\n$ git add .\n$ git commit -a\n$ git push --set-upstream origin bug/bug-1\nCounting objects: 2, done.\nDelta compression using up to 8 threads.\nCompressing objects: 100% (2/2), done.\nWriting objects: 100% (2/2), 242 bytes | 0 bytes/s, done.\nTotal 2 (delta 1), reused 0 (delta 0)\nTo git@github.com:petervanderdoes/Testing.git\n * [new branch]      bug/bug-1 -> bug/bug-1\nBranch bug/bug-1 set up to track remote branch bug/bug-1 from origin.\n$ git fetch origin bug/bug-1:refs/remotes/origin/bug/bug-1\nFrom github.com:petervanderdoes/Testing\n x [deleted]         (none)     -> origin/bug/bug-1\n$ git branch -r\n  origin/master\n$ git branch\n* bug/bug-1\n  master\n\nThe branch still exists on the remote repository.\nIs it correct that the git fetch deletes the remote reference?\n\n\nPeter\n\n\n-- \nPeter van der Does\n\nGPG key: CB317D6E\n\nSite: http://avirtualhome.com\nGitHub: https://github.com/petervanderdoes\nTwitter: @petervanderdoes\n"}]}