Giter Site home page Giter Site logo

Comments (4)

dkisselev avatar dkisselev commented on June 23, 2024

You could try adding the docs folder to .gitignore. I'm not sure if that
will stop pulls though.

Personally, I just download the zip and re-extract. (Leaving the docs
folder as-is)
On 2013-07-23 8:45 AM, "Nathan" [email protected] wrote:

What is the best way to keep my version of daux.io updated with the
latest version from GitHub without git overwriting the changes I have make
in the "docs" directory. When I do a git pull, git complains about wanting
to overwrite my changes to the config.json file. Thanks.


Reply to this email directly or view it on GitHubhttps://github.com//issues/40
.

from daux.io.

nathanjisaac avatar nathanjisaac commented on June 23, 2024

Would it be possible to create an update task for grunt, or is that out of the scope of what grunt can do?

Thanks @Kisselev for your advice. I will try the "downloading zip" idea for now.

from daux.io.

dkisselev avatar dkisselev commented on June 23, 2024

Try adding docs/ to the .gitignore file (on a new line) in your daux folder, then do a git pull.

I think that should stop git from overwriting the config.

I'm hesitant to add this to the repository though because I'm currently changing a lot of the backend around so config.json will be quite different for 1.0

from daux.io.

onigoetz avatar onigoetz commented on June 23, 2024

The way daux is packaged changed to be a composer dependency, you don't need to download daux and all its files separately anymore.

You can run composer global require justinwalsh/daux.io and it will install daux globally, you can then use the daux command to generate your documentation

(Your $PATH must contain ~/.composer/vendor/bin for it to work)

from daux.io.

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.