Git: Initializing

See Also

The IDE enables you to initialize a Git repository from existing files that are not in source control yet.

To initialize a Git repository:

  1. In the Projects window, select an unversioned project and choose either:
  2. In the Initialize a Git Repository dialog box, specify the path to the repository you are going to store your versioned files or click Browse and browse for the directory required.
  3. Click OK.
    A .git subfolder is created in the folder you specified in step 2 (your NetBeans project folder by default), which is your Git repository where all the data of your project snapshots are stored. Git starts versioning all files in the folder you specified. You can view files being added to the repository from the Output window (Ctrl-4).
See Also
About Projects
About Git Support

Legal Notices