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.
Create a new file under the project, named .gitignore
Just write the content like this
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