O'Reilly logo

PHP Application Development with NetBeans Beginner's Guide by M A Hossain Tonu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — initializing a Git repository

To initialize a Git repository from your existing project or source files, which are not under version control yet, you can go through the following steps:

  1. Right-click on the project Chapter6, and select Versioning | Initialize Git Repository from the context menu.
    Time for action — initializing a Git repository
  2. Now, specify the directory path where the repository will be created in the Initialize a Git Repository dialog box. In our case, we choose the same project path.
  3. Click on OK and you can check the repository creation progress or status in the Output window (Ctrl+4) as follows:

    A .git subdirectory will be created under your project directory, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required