Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot prevent fetch (during 'pull' operation) pulling all remote tags #403
I'm just evaluating GitFork, and it's mostly lovely, but I can't stop it fetching all the tags from my remote. This is a big issue for us as our build system (which is outside of our control) puts a tag on the source for every build. I don't want all 6000+ tags appearing in my workspace; it's a huge clutter.
I've tried adding the 'tagOpt' option to my .gitconfig to prevent tags being fetched (via
I just checked the source code. Fork does respect the
However automatic fetch which happens every 20 minutes always fetches all tags. I will make it use the last fetch preferences used in the UI (which is false on first start). Do you agree? If so, I will release the fix during next few days.
P.S. Sorry for the inconvenience, I didn't even know such a problem could exist :).
Update: Sorry, I didn't notice the updated title, because I read the initial one on my phone.
Just summarizing to ensure we are on the same page:
Is that possible that you was confused by automatic fetch and usual fetch and pull work properly?
I'm fairly sure it was the manual 'pull' operation that was triggering the fetch of tags. My repro steps:
(Having previously done a manual
The tag creation is being explicitly listed in the progress display of the pull at the top of the screen, suggesting it's the pull that's problematic:
That looks like
One day I added
So, I'll add a "Fetch All Tags" checkbox to the pull dialog and hopefully make everybody happy.