Skip to content

Instantly share code, notes, and snippets.

@androidyue
Created November 10, 2019 09:00
Show Gist options
  • Save androidyue/b1574c71c836549eab01bb1afc93c590 to your computer and use it in GitHub Desktop.
Save androidyue/b1574c71c836549eab01bb1afc93c590 to your computer and use it in GitHub Desktop.
Find tags which contains a certain commit hash
#!/bin/bash
git tag --contains $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment