How to use Git ignore file to prevent uploading vendor folder and others configuration files of laravel to the git branch. What is the proper way?
<p>After installing laravel debugger package (barryvdh), some of my file like (composer.lock, app.php) has been updated and I don't want to upload those files to my git branch, So that, I added those file name to the gitignore file. After that, I ran "git status" command, and as normally git bash shows me the updated files. Then, I run (git add -All) command to add the files, after that I ran commit and push command, But all of the files that I've just added to the git ignore file, that also uploaded to my branch.</p>