Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to get all branches from gitlab repository

curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/project_id/repository/branches"
Source by docs.gitlab.com #
 
PREVIOUS NEXT
Tagged: #branches #gitlab #repository
ADD COMMENT
Topic
Name
1+7 =