Advertisement
amaenta

GIT

Apr 11th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. git branch | grep 'Sprint97/' | xargs git branch -D //usuwanie wielu gałęzi jednoczesnie
  2. git reset --hard HEAD~1 //cofnij lokalne repozytorium o jeden commit oraz ->
  3. git push -f origin Sprint5/SON-234 //wypchnij z forcem zeby cofnac poprzedniego wypchnietego commita
  4.  
  5. jesli niedozwolona modyfikacja historii repo
  6. git revert HEAD
  7. git push
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement