Answers for "check commit id present in branch"

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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language