You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, I'm trying to upload a file then see it in repository file list.
I saw issue number #1272 , it solved part of the problem.
The method client.Projects.UploadFile() upload the file, but the file isn't listed in repository file listed. To be true, I didn't find the uploaded file in anywhere in my gitlab, there is only the "Readme.md" file!
This is my code
you can try GitlabClient.RepositoryFiles.CreateFile(projectId, targetPath+"/"+file.Name(), opts)
I also encountered the same problem as you, but I solved it using the above function. So far, I don't know what uploadfiles are used for
Hi guys, I'm trying to upload a file then see it in repository file list.
I saw issue number #1272 , it solved part of the problem.
The method
client.Projects.UploadFile()
upload the file, but the file isn't listed in repository file listed. To be true, I didn't find the uploaded file in anywhere in my gitlab, there is only the "Readme.md" file!This is my code
The output of fmt.Println is
/uploads/b0dc0d16f4476470baae543eb97c3449/save.png
If I copy and paste this URL in my project I see the image, but not in repository list.
I'm using GitLab 14.9.3
Thanks very much
The text was updated successfully, but these errors were encountered: