git-goggles icon indicating copy to clipboard operation
git-goggles copied to clipboard

Remotes and or branches should be ignorable

Open dustin opened this issue 14 years ago • 2 comments

I've got a few repos with a lot of remotes and branches. I'd like to be able to declare the stuff as "seen" and stop having old stuff show up on the screen.

dustin avatar Jan 19 '10 23:01 dustin

Not a bad idea! What do you think the best interface for expressing this would be? git config (i.e. "git config branch.staging.gitgoggles_ignore true" or "git config gitgoggles.ignore.staging true"). How do you think it should deal with remote branches to ignore? The same would go for remotes.

Should be a pretty simple feature to implement. I would love your thoughts on how you would like to see it handled.

Thanks!

nowells avatar Jan 20 '10 02:01 nowells

There's a github gem that does something similar. I think they just have a file in .git with the hashes to be ignored/marked clean/whatever.

git goggles --they-do-nothing someguy/dumbbranch

Something like that. There's really two different means of that -- I either want to ignore that change or that branch. Both would be good.

For ignoring a branch, I think git config branch.name.gogglesomething would be the best choice, though I'm not entirely sure how git feels about new options showing up in something like that.

dustin avatar Jan 20 '10 03:01 dustin