AI-Native
DevSecOps Platform
Free Trial
Blog
Documentation
University
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
422
October 28, 2022
How to get target branch of a commit using API
How to Use GitLab
api
0
311
November 18, 2019
Search for commits by SHA1 across projects
How to Use GitLab
2
3299
July 26, 2019
Get commits added to the branch by api
How to Use GitLab
0
479
March 11, 2019
Pipeline history of a branch
How to Use GitLab
0
585
August 3, 2016