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

Globbing for ignored branches?

From
MTMarkus Trippelsdorf <markus@trippelsdorf.de>
Date
Jan 24, 2014, 09:01 UTC
Message-ID
<20140124090104.GA396@x4>
I would like to ignore branches that match a certain pattern, e.g.:
markus@x4 gcc % git branch -a
  gcc-4.8
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/aldyh/cilk-in-gomp
...
  remotes/origin/hjl/arch
  remotes/origin/hjl/asan
...
  remotes/origin/hjl/x86/m16
  remotes/origin/ifunc
  remotes/origin/jason/4.6-cxx0x
  remotes/origin/jason/alias-decl
  remotes/origin/jason/comdat-debug
  remotes/origin/lw-ipo
  remotes/origin/master
...
Is it possible to ignore all branches that match "hjl"?
-- 
Markus
Next: Jim Garrison
Message 1 of 17 in “Globbing for ignored branches?”
  1. Markus TrippelsdorfJan 24, 2014
  2. Jim GarrisonJan 24, 2014
  3. Markus TrippelsdorfJan 24, 2014
  4. Markus TrippelsdorfJan 24, 2014
  5. Jeff KingJan 24, 2014
  6. Markus TrippelsdorfJan 24, 2014
  7. Jeff KingJan 24, 2014
  8. Junio C HamanoJan 24, 2014
  9. Markus TrippelsdorfJan 24, 2014
  10. Junio C HamanoJan 24, 2014
  11. Markus TrippelsdorfJan 24, 2014
  12. Jeff KingJan 24, 2014
  13. Junio C HamanoJan 24, 2014
  14. Jeff KingJan 25, 2014
  15. Markus TrippelsdorfJan 25, 2014
  16. Markus TrippelsdorfJan 25, 2014
  17. Jeff KingJan 25, 2014

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.