Answers for "how to see branch based on a commit"

2

how to check if a commit is in a branch

// This command gets all the branches that contain the specific commit id
git branch --contains $COMMIT_ID
Posted by: Guest on September-08-2021
0

git log show branch of commit

$ git log --all --source --pretty=oneline --graph
Posted by: Guest on August-23-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language