-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
19 lines (17 loc) · 1019 Bytes
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
https://git-scm.com/book/en/v2/Git-Basics-Tagging
steps:
- commit: initial commit
- commit: added source file
- release: created, with tag "milestone" (web interface)
- release: added tag "v1.0" (web interface)
- commit: modified file
- git tag bugfix -m "A bug has been fixed" (command line, annotated tag)
- commit: added fprintf in c source file
- git tag custom-code (command line, lightweight tag)
- git tag feature-added (command line, lightweight tag)
- commit: "added an if statement in the c source file"
- Non riesco ad aggiungere 2 volte lo stesso tag. Ho provato a inserire da command line sia annotated che lightweight tag, e mi dice "fatal: il tag 'milestone' esiste già.
- da web interface ho inserito una nuova release e messo il tag "milestone" (già esistente), ma mi modifica title e description della release precedente con quel tag.
- git tag bugfix_v1.1 (command line, lightweight tag)
- git tag custom-code_v1.1 -m "A bug has been fixed" (command line, annotated tag)
- git push origin --tags