Last active
July 20, 2019 08:37
-
-
Save wildeng/eb3ab92a8db8ae5fb93deb135ae1c7b4 to your computer and use it in GitHub Desktop.
Adding a tag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adding a tag to our commit | |
git tag -a v0.1 -m "a nice commit" | |
# looking for the created files we see that one more file | |
# has been created | |
find .git/objects -type f | |
.git/objects/51/e1acfa6ecdb46d6c9d4ad13e82b5cab90d5f3f | |
.git/objects/51/dcfd9bba09650f50ccad8dde3ad5fe8ba68ad2 | |
.git/objects/53/8d4c75373bb8ebb9af381c4e8287b6f0819533 | |
# new folder and new file created | |
.git/objects/11/85637c960727f803e5229393839629479c7b8d | |
# content of the TAG object | |
git cat-file -p 1185637c960727f803e5229393839629479c7b8d | |
object 51dcfd9bba09650f50ccad8dde3ad5fe8ba68ad2 | |
type commit | |
tag v0.1 | |
tagger wildeng <[email protected]> 1563610234 +0100 | |
a nice commit | |
a nice tag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment