PHPSolved

PHPSolved

Daily struggles of web developer

Skip to content

git

There is one post tagged git.

Laravel – remove vendor from git

In case you have accidentally committed your vendor folder, you can easily remove it by following these steps:

git rm -r --cached vendor
git rm -r --cached composer.lock
git commit -m "untrack vendor directory"
git push
in PHP | 2017-11-06 | 138 Webmentions | 2 Comments

Recent Posts

  • Change SSH port on Ubuntu 22 and newer
  • Elastic Beanstalk – “You cannot remove an environment from a VPC. Launch a new environment outside the VPC.”
  • How to get Certificate Chain from certificate
  • Ubuntu – The following signatures were invalid: EXPKEYSIG
  • Docker – The container name “xx” is already in use by container
  • AWS Elastic Beanstalk: invalid YAML or JSON error when uploading zip file from MAC OS
  • Uncaught The type apostrophe-login is not defined.
  • nginx – php value / ini_set for specific url
  • Sudo stop asking for password
  • add-apt-repository: command not found
  • gpg: can’t connect to the agent: IPC connect call failed
  • Remove all duplicates from database except for the first
  • Backup huge mysql database
  • Laravel in subdirectory – nginx vhost setup
  • Sort files by time modified
  • Make Git ignore Mode changes
  • Insightly CRM API can’t add a new TAG
  • Laravel Facebook Login guide how-to
  • Get Laravel version
  • PrestaShop – check product category in smarty .tpl
  • Git diff can’t parse utf-8 characters – instead it shows weird <8F>
  • Can’t install Let’s Encrypt certificate through Plesk after update
  • Allow Facebook to test your Open Graph meta tags ( og debugger ) with htpasswd password
  • How to change the webview background color on PhoneGap iOS
  • Laravel strip all cookies and session data from JSON output
  • file_get_contents always returns false
  • WordPress – adjust maximum memory limit
  • Laravel – remove vendor from git
  • PHP – How to trim all values in array
  • http to https redirect infinite loop problem
  • CentOS time is incorrect by few seconds or minutes
  • [Laravel 5] Call to undefined method Illuminate\Foundation\Bootstrap\ConfigureLogging::configureHandler()
  • WordPress – remove emoji scripts
  • WordPress disable theme update
  • Speed up Woocommerce WordPress
  • Change Last Modified and Creation Dates on Linux or Mac OS X
  • Youtube iframe and Analytics tracking
  • Laravel 5 installation error – Parse error: syntax error, unexpected ‘class’ (T_CLASS)
  • Braintree Paypal – Please try a different payment method
  • Centos7 Plesk 17.0 mu14 error updating psa-mail-driver-common
  • LibClamAV Warning: *** The virus database is older than 7 days! ***
  • rsync between servers – how to filter by file extension
  • Plesk 17.x courier-imaps: Maximum connection limit reached for IP
  • CentOS 7 – stdatomic.h: No such file or directory
  • CentOS7 httpd permission denied for write, even with 777 permission
  • CentoOS 7 – color terminal
  • mongodb.so: undefined symbol: php_json_serializable_ce in Unknown on line 0
  • CentOS7 php redis server – permission denied
  • Run nodejs application in background
  • Convert unix timestamp to human readable date in MySQL select
  • Laravel – The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
  • phpMyAdmin blowfish secret generator
  • Your privilege table structure seems to be older than this MySQL version!
  • Apache access log count IP addresses
  • UFW firewall installation on Ubuntu
  • DrawerJS unofficial documentation
  • Your branch is ahead of ‘origin/master’ by 1 commit.
  • Ubuntu 16 – how to increase maximum file open limit ( ulimit -n )
  • mount point XYZ is itself on a OSXFUSE volume
  • Find out ‘open files’ limit for apache user
  • Display errors in PHP file
  • Rebuild software RAID1 after disk failure – cent os
  • Free SSL certificate – how to
  • Compress and unpack directory in Ubuntu using TAR
Copyright ©2025 LJ Studio, s.r.o., Panónska cesta 6, Slovakia.
WP Theme Independent Publisher.