Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot add "dist" folder to github repo

Tags:

git

add

When I create folder named dist and add anything to it github fails to see new additions.

git add . reports that all is up do date.

any reason for that?

like image 938
Alex B Avatar asked May 29 '16 13:05

Alex B


People also ask

Should I include dist folder in git?

It's not recommended, but you can remove dist from the . gitignore if this doesn't work for your current setup, just make sure to run yarn build:production before committing changes. (edit:) This isn't a fool-proof solution, especially when working on a team.

Should I upload Dist to GitHub?

You do not need to commit the dist folder. pip really just needs the repository to have a setup.py file along with the packages and/or modules you're installing. Save this answer.


1 Answers

Most probably you have adist entry in your project's .gitignore file.

like image 114
ismail Avatar answered Sep 18 '22 03:09

ismail