search

Home  >  Q&A  >  body text

vue.js - vue upload code to git

I want to upload the vue project to git, but without uploading the node-module dependency, what should I choose for git add?
Is there any command to upload other files without selecting a certain file?
You can’t git add the folder that needs to be uploaded every time.

習慣沉默習慣沉默2761 days ago754

reply all(2)I'll reply

  • 世界只因有你

    世界只因有你2017-05-31 10:38:06

    Create a new file under the project, named .gitignore

    Just write the content like this

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-31 10:38:06

    The

    .gitignore file is used to mark which files are used to ignore submissions. Fill in the corresponding files or directories in it to ignore uploading

    reply
    0
  • Cancelreply