Hi @Vukasin Filipovic and welcome to the community!
You cannot create a directory only. As Mikael said, Git will not commit an empty directory.
However, if you want to add a directory and then a file in this directory, this is possible also from Bitbucket UI:
1. Select the Add file option from your screenshot
2. In the field where you enter the file name, enter the name of the directory, e.g. myDir:
3. Then add a slash /
As soon as you do that, you will see that a directory with that name gets created:
You can then enter the file name and the content of the file and commit it.
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
Thank you very much, I have successfully created the directory c:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's good to hear, you are very welcome!
Please feel free to reach out if you ever need anything else!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to Atlassian Community!
You will have to clone your repository and then create the directory and files on your client and then push it back to Bitbucket.
Note that you cannot create empty directories in a repository, Git do not include them in a commit. So if you need an empty folder you would have to add a file to it as well in order for Git to include it in the commit/push.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much, I have successfully created the directory c:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.