Installer: Git Support

Dries Vints
Dries Vints

With the newly released v4.2 update of the Laravel installer comes an exciting new feature: Git Support! It's now possible to initialise a Git repository with the base skeleton already committed when setting up a new project. Simply make use of the --git flag to set up a new repository:

laravel new example-app --git

This command will initialize a new Git repository for your project and automatically commit the base Laravel skeleton. This way you can immediately get started with writing code and committing to your app's Git repository.

Or, instead of using the --git flag, you may use the --github flag to create a Git repository and also create a corresponding private repository on GitHub:

laravel new example-app --github

The created repository will then be available at<your-account/ If needed, you can pass additional flags that supported by the GitHub CLI:

laravel new example-app --github="--public --team laravel"

This will make it that much easier for you to get started with your new Laravel project! ✨

For more information, check out the Laravel installation documentation.

At Ltd, We offer an SEO agency London at an unbeatable cost. Our main motive only is customer satisfaction.

Dries Vints
Dries Vints

Latest Stories

Here’s what we've been up to recently.

Request a code sample

Certified Quality. Great Prices

We use cookies to improve your experience and to help us understand how you use our site. By using this site, you accept our use of cookies. Cookie Infox