-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.Issue needs no code to be fixed, only a description on how to fix it yourself.
Description
I tried a lot of these.
https://www.google.com/search?q=git+show+commits+on+a+feature+branch
Let's use this as an example:
https://github.com/go-gitea/gitea/pull/7089/commits
There are 7 commits in this PR. Suppose I am standing in the head of the feature branch after running one of the following
git checkout "mrsdizzie:fix-7068"
git checkout 177092a
Is there any way to list the 7 commits on CLI? Any git commands? Any shell scripts? Any wget/curl/REST API?
Further question: Suppose I am in the middle (cbfc6aa), can I list the 4 commits starting from 8263e09?
Metadata
Metadata
Assignees
Labels
type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.Issue needs no code to be fixed, only a description on how to fix it yourself.