Comments (6)
It's a relative symlink, you should be able to clone airstruck/knife next to airstruck/hell and it will work.
The problem is it links to a directory inside of the other repo, and I'm not sure there's a clean way to set that up as a submodule. Maybe we can do it as a subtree. That would be nice, since people wouldn't have to do the extra submodule stuff when cloning.
from hell.
Subtrees are also a pain, git makes a bad guess when using subtree merge strategy and puts the subtree in the sprites directory (and deletes all sprites) instead of putting it where it's supposed to go. May have to use submodules after all. Will think about this more.
from hell.
For now I've done the simplest possible thing and just copied the library into this project.
from hell.
Thanks for let me try this !
My guess is that subtrees are different than submodule's. Reference. It allow you to point (?)
to a particular commit of a particular repository without having to merge content with you're actual repo. It's quite handy concerning static dependencies over libraries and such without being sensitive about modifications and only requires a bunch of command to initialize. After, everything work like a regular folder.
from hell.
Yeah, the problem with submodules is people need to do extra work to clone the repo. After you clone the repo, you need to do something like git submodule init; git submodule update
, and I'd have to document that. I'd also have to do extra steps if I want to update that library... It's too much trouble for a simple thing like this (and there are other reasons to stay away from submodules).
from hell.
I do understand more of your reluctance now.
from hell.
Related Issues (2)
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 hell.