Source: sebastiandedeyne.com

Leading slashes in .gitignore
https://sebastiandedeyne.com/leading-slashes-in-gitignore/ https://sebastiandedeyne.com/tags/git/This is a friendly reminder to keep leading slashes in mind in.gitignore files. The other day, I pulled down a project and couldn’t get the CSS to build because files were missing.

A fine name, but vendor was ignored so they were quietly missing from the repository.

# Ignores all vendor files vendor # Only ignores vendor at the project root /vendor
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners