Which folder or files created in vagrant should not be push in a repository on GitHub -


i create vagrant utilities installed, such configured lamp, npm installed, etc... , later doing push in public github account.

i should create .gitignore file restrictions? simple vagrant project have structure:

  • .vagrant (folder).
  • html (folder).
  • vagrantfile (file).

and don't want script shell install utilities when user run vagrant up. want share environment , installed via vagrant ssh.

you want vagrantfile. that's defines vagrant environment. , want ignore .vagrant/.

gitignore.io seems to agree:

# created https://www.gitignore.io/api/vagrant  ### vagrant ### .vagrant/ 

you might want use utility rest of stack, e.g. here .gitignore generated composer, nodejs , vagrant.


Comments