Gitlab ide upload the whole root directory

Hello,

I usually work behind a firewall which does not let me access gitlab unless through the web browser.

Thanks to the gitlab.com IDE I can upload files, but if there are a lot of modifications, it becomes annoying.

Would there exist a way to upload in one step the whole root directory ? For example, I could zip the root directory and upload it to gitlab.com which would unzip the archive on to the gitlab.com repository ?

Is something like this possible ?

regards
deb

I don’t think that’s possible. You can just use git over http tho?

  • Go to the project folder
  • paste all the new files
  • commit the newly added files
  • push the changes

Looks easy enough :wink:


also, wait a second…

Are you manually uploading and changing all the files over web UI by every new change in the local codebase? I hope I’m wrong.

Keep us posted ^-^

Thanks for your answer.

Are you manually uploading and changing all the files over web UI by every new change in the local codebase? I hope I’m wrong.

As I cannot perform any git operations except through the web browser, any time I make some changes to a file, I have to manually upload it through the gitlab.com web UI. If it is only one file, it is ok, but when there are multiple files spread in several directories, I would have found more easy to upload directly a zip archive of the local root directory, let gitlab.com unzip it so that it overwrites all files of the repository. Then, I could commit the changes as if I would have made them through the web UI.

You should be able to use git via HTTP if ssh traffic is blocked. It should work, if your browser can access gitlab.com

Thanks for your suggestion.

Unfortunately, the firewall seems to work at the application level, only the browser is allowed to access internet. So my only access to gitlab.com is through the browser.

I wanted to upload modified files, but the web UI seems to forbid the upload of files with same name as in the repository. I tried to copy/paste the modified file into the web UI file editor, but it does not seem to take into account the browser clipboard, unless I am mistaken.

Is there a way for the web UI to accept uploads with same name or for the web editor to account for the browser clipboard ?

EDIT : my bad, I understand how to paste into the editor

Regards