forked from progit/progit2-nl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now in line with 2.1.87 of progit2-en (progit#18)
- Loading branch information
Showing
5 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -219,6 +219,27 @@ To [email protected]:schacon/simplegit.git | |
|
||
Als nu iemand anders van jouw repository kloont of pullt, dan zullen zij al jouw tags ook krijgen. | ||
|
||
==== Tags verwijderen | ||
|
||
Om een tag uit je lokale repository te verwijderen, kan je `git tag -d <tagnaam>` gebruiken. | ||
Als voorbeeld, we kunnen onze lichtgewicht tag hierboven als volgt verwijderen: | ||
|
||
[source,console] | ||
---- | ||
$ git tag -d v1.4-lw | ||
Deleted tag 'v1.4-lw' (was e7d5add) | ||
---- | ||
|
||
Merk op dat dit niet de tag van enig remote server verwijdert. | ||
Om ook de remotes bij te werken, moet je `git push <remote> :refs/tags/<tagnaam>` gebruiken: | ||
|
||
[source,console] | ||
---- | ||
$ git push origin :refs/tags/v1.4-lw | ||
To /[email protected]:schacon/simplegit.git | ||
- [deleted] v1.4-lw | ||
---- | ||
|
||
==== Tags uitchecken | ||
|
||
Als je de lijst van bestandsversies wilt zien waar een tag naar verwijst, kan je een git checkout doen, maar dit zet je repository wel in een ``detached HEAD'' status, wat een aantal nadelige bijeffecten heeft: | ||
|
This file contains 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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.