Create the tag ref
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user