-
Notifications
You must be signed in to change notification settings - Fork 42
Are there any command for changing branch setting?? #187
Comments
You have to create a repository, the README.md file locally, commit changes and push them to GitLab. You can change the visibility of a project using Set-GitLabProject` function. |
I can add file locally and commit to GitLab, I need to automate the process of creating repository and adding the readme file. Do you have any functions available for this?? The Set-GitLabProject is for renaming correct? But,I need to change the branch permission under a repository. |
Nope. The GitLab Branches API is not implemented in the PSGitLab yet.
Nope, the parameter Visibility is for that.
Do you mean to protect a branch? |
Yes. I need to change the branch setting to protected and I believe that comes under the Branches API |
Any idea when would the PSGitLab support the Branches API feature?? |
There is no roadmap. All additions/improvements are done by the community/public when motivated and available to do so. |
@it-praktyk and @robinmalik are correct. No timeline exists for support for the Branches API. My goal in the project was to cover the APIs I need but make it easy for others to add what they need. I would welcome any addition from @AkhilaDamera to add support. I'd be more than happy to aid any attempt if you've never done anything like this. |
Hi,
After the project creation, I need to create the readme.md file, master branch and change the master branch setting to private/protected. Are there any commands available to initiate the repo and change the master branch settings??
Appreciate your response,
Thanks,
akhila
The text was updated successfully, but these errors were encountered: