mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-05-06 19:58:49 -05:00
[GH-ISSUE #151] gitee: getting all commits of a specific branch #2248
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shreyas1599 on GitHub (Jan 8, 2021).
Original GitHub issue: https://github.com/pd4d10/git-touch/issues/151
Hi @pd4d10, I'm trying to add branches to
gitee. This is all I could find for getting commits for a single branch:Getting a single branch- returns a response that only includes the most recent commit -Example Responseis supposed to return 2 commits. It does not return a list. I might've missed something. Perhaps you could help.@pd4d10 commented on GitHub (Jan 9, 2021):
https://gitee.com/api/v5/swagger#/getV5ReposOwnerRepoBranches
This should be the "getting all branches" API
@shreyas1599 commented on GitHub (Jan 9, 2021):
Oh no, this one I got. I mean all commits for a single branch. After selecting a particular brand the commits screen should display all commits specific to that branch right?
@pd4d10 commented on GitHub (Jan 9, 2021):
Oh, sorry, didn't see it clearly 😂.
Does this API work? It seems to have a
shaparameter to specify the branch@shreyas1599 commented on GitHub (Jan 9, 2021):
Ah ok I didn't notice the parameters. I was only searching the endpoints. I'll try this.
Edit: It works