How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Generate an app using the tool
- Download and unpack
- Run
git init in the root directory of the app
Expected behaviour
Initializing a Git repository, so you can put the app under version control.
Actual behaviour
$ git init
fatal: not a git repository: /home/[...]/Documents/projects/nextcloud/my-app/../../../.git/modules/nextcloudappstore/scaffolding/my-app
Additional info
The reason the git init command doesn't work, is that the generated app comes with is a .git file that contains the following line:
gitdir: ../../../.git/modules/nextcloudappstore/scaffolding/my-app
If this is not a bug, but intended behavior, maybe someone can explain the reasoning behind this, so I can learn. Also, I would like to know what the recommended way is to put a new app under version control.
How to use GitHub
Steps to reproduce
git initin the root directory of the appExpected behaviour
Initializing a Git repository, so you can put the app under version control.
Actual behaviour
Additional info
The reason the
git initcommand doesn't work, is that the generated app comes with is a.gitfile that contains the following line:If this is not a bug, but intended behavior, maybe someone can explain the reasoning behind this, so I can learn. Also, I would like to know what the recommended way is to put a new app under version control.