git clone --depth=20 git@github.com:ZenIDTeam/tensorflow.gitgit fetch --tags --depth=1 origingit checkout v2.12.0-custom-ops
- fetch a TF tag from upstream tf repo (with depth=1)
git clone --depth=20 git@github.com:ZenIDTeam/tensorflow.gitgit remote add upstream https://github.com/tensorflow/tensorflow.gitgit fetch origin tag v2.12.0 --no-tagsgit checkout v2.12.0
- add your commits on top
- tag it and push the tag to this repo
git tag v2.12.0-custom-opsgit push origin tag v2.12.0-custom-ops --no-tagsgit push origin tag v2.12.0 --no-tags(push the base version tag too)