Create the tag ref

This commit is contained in:
2024-04-17 19:33:54 +02:00
parent e85766f671
commit edae32dc86
2 changed files with 8 additions and 3 deletions

View File

@@ -96,6 +96,8 @@ def commit(message):
return oid
def create_tag(name, oid):
data.update_ref(f"refs/tags/{name}", oid)
def checkout(oid):
commit = get_commit(oid)