Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 17:05 < tamaroth> mam sobie stack commitow
- 17:05 < tamaroth> od najnowszego, do najstarszego
- 17:05 < tamaroth> 68590369 Commit 5
- 17:05 < tamaroth> 34069246 Commit 4
- 17:05 < tamaroth> ...
- 17:05 < tamaroth> 12345678 Commit 2
- 17:06 < tamaroth> 87654321 Commit 1
- 17:06 < tamaroth> w Commit 1 dodalem sobie nowy pliczek i jakas tam do niego zawartosc
- 17:06 < tamaroth> powiedzmy myfiles/source_01.cpp
- 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
- 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
- 17:08 < tamaroth> chcialem sobie jebnac squash Commit 5 -> Commit 1
- 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
- 17:09 < tamaroth> zmieniamy pick na squash, modyfikujemy commit msg i voila
- 17:09 < tamaroth> ladnie zesquashowane
- 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:10 < tamaroth> myslalem, zeby moze jakos Commit 2 rozbic na 2 rozne commity
- 17:11 < tamaroth> ale ni chuja nie wiem jak
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement