git/list[1] front-page[2] threads[3] people[4] search[5] about
 

preventing checking out remote branch in gitk

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
Jun 5, 2009, 15:21 UTC
Message-ID
<slrnh2ie05.8mr.sitaramc@sitaramc.homelinux.net>
Hello,

I have a fair number of new users, mostly refugees from VSS and SVN, and they do use the GUIs a fair bit.

And they keep doing this :-) I know what you're thinking: teach them not to do it...

But doing this at the command line gives you a nice warning, and a GUI is (like it or not) considered more "safe" (aka less powerful). So it should go one better and just refuse :-)

Is there any way we can disable "Checkout this branch" for branches that are not local in gitk? I'm willing to play around with the code and test it if someone can give me a couple of pointers at least.

Thanks,
Sitaram
Next: Sitaram Chamarty
Message 1 of 2 in “preventing checking out remote branch in gitk”
  1. Sitaram ChamartyJun 5, 2009
  2. gitk: disable checkout of remote branchSitaram Chamarty, Jun 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.