fork-dev / Tracker

Bug and issue tracker for Fork for Mac
508 stars 12 forks source link

Honour git config tagopt no-tags #1973

Closed neilmorton closed 1 year ago

neilmorton commented 1 year ago

I have a repo where as well as origin, I have both an upstream remote, and another forked remote. I do this so I can cherry pick specific commits for my repo.

However, if I add a tag to my repo, and then the forked remote adds the same tag, I get a clobber error.

I have set the git config for the remote to git config remote.<remote-name>.tagopt --no-tags which I assumed should stop the tags being fetched, but this does not seem to be honoured by Fork.

Thanks.

neilmorton commented 1 year ago

Disable Settings > General > Always include tags into fetch (disabled by default).

Thanks for the heads up @DanPristupov .

DanPristupov commented 1 year ago

You are welcome👍