In a self-hosted GitLab installation, how can we create a new directory in a repository through the web interface?
In GitHub web interface, we can create a new directory by giving a filename like this:
/new-dir-name/new-file-name.md
..which will create a new directory named new-dir-name/
and put the file new-file-name.md
inside it.
But this is not working with GitLab through the web interface. How can we do this?
(It's clear that we cannot create empty directories in a git repo.)
To access the Web IDE, just click the button from any GitLab project. In this simple project with a job application, you can use the Web IDE to make a code change and push it to a feature branch.
gitlab` folder for configuration file and update file name.
Not possible yet.
That is not an available feature as of now, but the development team is willing to include this functionality. Check http://feedback.gitlab.com/forums/176466-general/suggestions/5482948-create-directories-from-the-web-ui for more information
this is not working with GitLab. How can we do this?
Not through the web interface.
Workaround:
if you add in your local clone new-dir-name/new-file-name.md
, commit and push, you will get a new-dir-name
folder in your GitLab repo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With