Skip to content

Instantly share code, notes, and snippets.

$ git commit -m "Dies ist eine Commit-Nachricht"
$ git show <tag-name> # Zeigt Informationen über den spezifischen Tag an.
$ git tag # Zeigt eine Liste der vorhandenen Tags an.
$ git tag v1.0.0 # Erstellt einen Tag mit dem Namen "v1.0.0" am aktuellen HEAD-Commit.
$ git tag <tag-name> [<commit-id>]
$ git push <remote-name> <branch-name>
$ git pull <remote-name> <branch-name>
$ git fetch <remote-name>
$ git remote -v # Zeigt die Namen und URLs der Remote-Repositories an.
$ git remote add <name> <URL> # Fügt ein neues Remote-Repository hinzu.
$ git merge <branch-name>