apradhanshakya / portfolios

0 stars 0 forks source link

Do not push dist folder to github #7

Open darichterdeloitte opened 3 years ago

darichterdeloitte commented 3 years ago

Screen Shot 2020-12-08 at 9 49 05 am

apradhanshakya commented 3 years ago

removed the dist folder from github

darichterdeloitte commented 3 years ago

It looks like you've just deleted the file directly, you need to add the entire dist folder to the git ignore file. Otherwise it will be pushed to the repo in the future

apradhanshakya commented 3 years ago

yes Dan, my first attempt was to

  1. remove dist from github: For it, i removed the folder from Visual studio code and the folder got deleted in github.
    1. then added the entire folder in .gitignore.
  2. And i pushed some changes to check, and saw that the folder was not added on the github. :) I had followed the suggestion from stack overflow