Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. 17:05 < tamaroth> mam sobie stack commitow
  2. 17:05 < tamaroth> od najnowszego, do najstarszego
  3. 17:05 < tamaroth> 68590369 Commit 5
  4. 17:05 < tamaroth> 34069246 Commit 4
  5. 17:05 < tamaroth> ...
  6. 17:05 < tamaroth> 12345678 Commit 2
  7. 17:06 < tamaroth> 87654321 Commit 1
  8. 17:06 < tamaroth> w Commit 1 dodalem sobie nowy pliczek i jakas tam do niego zawartosc
  9. 17:06 < tamaroth> powiedzmy myfiles/source_01.cpp
  10. 17:07 < tamaroth> w Commit 2 dodalem nastepny pliczek, powiedzmy myfiles/source_02.cpp ORAZ przez zagapienie moje, mala modyfikacje w pliku source_01.cpp
  11. 17:08 < tamaroth> w Commit 5 robilem modyfikacje source_01.cpp, ktora jest blisko tej modyfikacji z Commit 2, wystarczajaco blisko by przy mergu wyjebac mi conflict
  12. 17:08 < tamaroth> chcialem sobie jebnac squash Commit 5 -> Commit 1
  13. 17:09 < tamaroth> normalnie jakby w Commit 2 nie bylo modyfikacji source_01.cpp, to robimy pieknie git rebase -i HEAD~5 czy tam sha commitu
  14. 17:09 < tamaroth> zmieniamy pick na squash, modyfikujemy commit msg i voila
  15. 17:09 < tamaroth> ladnie zesquashowane
  16. 17:10 < tamaroth> problem jest w tym, e squash z Commit 5 na Commit 1 powoduje conflict w Commit 2, ktory jesli resolvne normalnie, to kurwi mi source_01.cpp dodajac z jakiegos dziwnego powodu automatycznie conflict message do tego
  17. 17:10 < tamaroth> myslalem, zeby moze jakos Commit 2 rozbic na 2 rozne commity
  18. 17:11 < tamaroth> ale ni chuja nie wiem jak
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement