AI-Powered
DevSecOps Platform
Free Trial
Blog
Documentation
Learn
Community
Privacy Statement
Cookie Settings
GitLab Forum
Is there a way to find out what branch a commit comes from given its SHA-1 hash value?
How to Use GitLab
documentation
,
commit
,
api
mukeshgarg215
June 23, 2021, 7:46am
1
Is there any API to find the branch in which a commit in originally committed?
Related topics
Topic
Replies
Views
Activity
Get commit of existant branch created from another one
General
api
,
git
0
394
October 28, 2022
Get commits added to the branch by api
How to Use GitLab
0
463
March 11, 2019
Search for commits by SHA1 across projects
How to Use GitLab
2
2774
July 26, 2019
How to get target branch of a commit using API
How to Use GitLab
api
0
298
November 18, 2019
How to fetch commits from a specific branch using Gitlab API?
Community
api
1
729
February 7, 2023