GithubHelp home page GithubHelp logo

Unclonable about hell HOT 6 CLOSED

Zleub avatar Zleub commented on June 24, 2024
Unclonable

from hell.

Comments (6)

airstruck avatar airstruck commented on June 24, 2024

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.

airstruck avatar airstruck commented on June 24, 2024

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.

airstruck avatar airstruck commented on June 24, 2024

For now I've done the simplest possible thing and just copied the library into this project.

from hell.

Zleub avatar Zleub commented on June 24, 2024

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.

airstruck avatar airstruck commented on June 24, 2024

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.

Zleub avatar Zleub commented on June 24, 2024

I do understand more of your reluctance now.

from hell.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.