First, NetBeans new project wizard creates nbproject directory. Then, it runs specific action (e.g. unzip a file, change file contents, and so on).
git clone command is used when project is created with create-project command.
But we will get error because target directory is not empty (i.e.has nbproject directory)
workaround
1. Use the same way as CakePHP2.x when plugin runs git command.
Now, it's difficult to implement this feature.
git clone problem
We use
composer create-project
command to create the new App in CakePHP 3.x.First, NetBeans new project wizard creates
nbproject
directory. Then, it runs specific action (e.g. unzip a file, change file contents, and so on).git clone
command is used when project is created withcreate-project
command. But we will get error because target directory is not empty (i.e.has nbproject directory)workaround
1. Use the same way as CakePHP2.x when plugin runs git command.
i.e. -- git
2. Unzip zip file from github repository