Comments (3)
The same problem may occur when creating the namespaced tags. The tags within .git/packed-refs
are ignored in this case.
from tomono.
The easiest way to work around this is to disable gc-auto right after creating the new repository, like so:
git init --bare .git
# we don't want pack-refs to run and break our flow
git config gc.auto 0
Then at the end of the main function, re-enable gc.auto. I also recommend running a full GC to optimize the resulting monorepo.
# optimize the git storage files
git config --unset gc.auto
git gc --aggressive
from tomono.
This was fixed for branches but is still an issue for tags.
from tomono.
Related Issues (20)
- Error: .gitignore overlaps with .gitignore. Cannot bind. HOT 9
- Create monorepo with git commit history without branches HOT 4
- issue with annotated tags HOT 1
- License missing HOT 5
- Ownership Transfer HOT 5
- Does it properly handle branches in multiple repos? HOT 2
- Empty history for folders HOT 1
- How to sync the new branches of the subrepos after migration? HOT 1
- Is there any way to migrate PR of sub repo to monorepos HOT 1
- error: unknown option `atomic' HOT 1
- error: invalid path on Windows (carriage-return issue) HOT 1
- case-sensitive branch-names break on Windows HOT 3
- matching branch-path-folders and branch-names will break merge HOT 2
- Namepaced tags pushing to remote failure HOT 5
- Commit history of a repository is missing after the merge of four repositories HOT 7
- Only the remote's local branches are cloned, not the remote's remote tracking branches HOT 3
- Combine into monorepo - same git name HOT 3
- After using tomono, rebase and log contents are very different. HOT 6
- How to handle ambiguous refname HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tomono.