added git desc
This commit is contained in:
8
polecenia/05_revert.txt
Normal file
8
polecenia/05_revert.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
git revert
|
||||
Tworzy nowy commit, który cofa zmiany z wybranego commitu, zachowując pełną historię. Bezpieczne dla współdzielonych branchów, bo nie usuwa commitów.
|
||||
|
||||
Przykład (cofnij ostatni commit):
|
||||
git revert HEAD
|
||||
|
||||
Przykład (cofnij zakres commitów):
|
||||
git revert HEAD~2..HEAD
|
||||
Reference in New Issue
Block a user