git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Branch deletion question / possible bug?
@ 2018-04-28  0:29 Tang (US), Pik S
  2018-04-28  7:44 ` Jacob Keller
  0 siblings, 1 reply; 5+ messages in thread
From: Tang (US), Pik S @ 2018-04-28  0:29 UTC (permalink / raw)
  To: git@vger.kernel.org

Hi,

I discovered that I was able to delete the feature branch I was in, due to some fat fingering on my part and case insensitivity.  I never realized this could be done before.  A quick google search did not give me a whole lot to work with...  

Steps to reproduce:
1. Create a feature branch, "editCss"
2. git checkout master
3. git checkout editCSS
4. git checkout editCss
5. git branch -d editCSS

Normally, it should have been impossible for a user to delete the branch they're on.  And the deletion left me in a weird state that took a while to dig out of.

I know this was a user error, but I was also wondering if this was a bug.


Thanks,

Pik Tang


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-30 19:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-28  0:29 Branch deletion question / possible bug? Tang (US), Pik S
2018-04-28  7:44 ` Jacob Keller
2018-04-28 10:30   ` Philip Oakley
2018-04-28 12:43     ` Johannes Schindelin
2018-04-30 19:54       ` Tang (US), Pik S

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).