Searching in branches

suggest change

To list local branches that contain a commit or a tag:

git branch --contains <commit>

To include remote-tracking branches as well, add -a. This does not contact the remote:

git branch -a --contains <commit>

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents