Giter Site home page Giter Site logo

Problem with -e option about synx HOT 4 OPEN

adamdziedzic avatar adamdziedzic commented on July 20, 2024
Problem with -e option

from synx.

Comments (4)

marklarr avatar marklarr commented on July 20, 2024

@adamdziedzic I'm just now realizing that the -e option is a little misleading. It ignores the group during the reconstruction of your project, meaning that it is essentially deleted, like you said, when your reconstructed (synced) project is copied over your existing project.

The -e flag is really intended for things like Pods and Frameworks -- groups that you don't check into Git. Maybe it's worth rethinking the implementation of the -e flag, though. I don't see any harm in just copying them over to the reconstructed project as-is

from synx.

noordawod avatar noordawod commented on July 20, 2024

You can grab a copy of a script I wrote to fix few issues with synx, including an option to ignore directories/files altogether:

https://gist.github.com/noordawod/ea1a5fc1fb5654fcba509f6e5862a4eb

from synx.

fabb avatar fabb commented on July 20, 2024

I ran into the same issue - imho -e should leave the files where they are.

from synx.

fabb avatar fabb commented on July 20, 2024

As a workaround I restore the folders after running synx with git checkout HEAD -- path/to/folder.

from synx.

Related Issues (20)

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.