Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 160 Pomógł: 27 Dołączył: 22.09.2008 Skąd: Tarnów Ostrzeżenie: (0%)
|
Hej
Mam taki problem, że przy każdym pushu do repo gita pojawia mi się długa lista plików z różnymi statusami (modified, added, deleted). oraz tekst Cytat Pull is not possible because you have unmerged files. Please, fix them up in the work tree, and then use 'git add/rm <file>' as appropriate to mark resolution, or use 'git commit -a'. Wygląda na to, że gdzieś kiedyś coś źle naprawiłem przy podmianie jakiejś biblioteki. Macie może sposób, żeby to naprawić? |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 160 Pomógł: 27 Dołączył: 22.09.2008 Skąd: Tarnów Ostrzeżenie: (0%)
|
Kod git checkout master git pull origin master git checkout -b mybranch ... changes in code... git add . git commit -m "my message" git push origin mybranch git checkout master git merge mybranch git push origin master Odpowiedź jest taka, jaką podałem powyżej. Listy plików podać nie mogę, NDA. Lista plików to jest coś na zasadzie: Kod remote: D file_path
remote: A file_path2 remote: M file_path3 Ten post edytował mrc 27.08.2015, 10:16:53 |
|
|
|
mrc Git: Pull is not possible because you have unmerged files. 27.08.2015, 09:50:44
nospor piszesz ze robisz PUSH, podczas gdy komunikat bled... 27.08.2015, 09:52:50
mrc Sam się temu dziwię, ale tak jest na prawdę. Nie m... 27.08.2015, 09:55:42
Pyton_000 git merge --abort
i potem pull 27.08.2015, 09:56:22
nospor No dobrze, a jak robisz git status to nie pokazuje... 27.08.2015, 09:56:38
mrc @Pyton
Cytatgit merge --abort
fatal: There is no ... 27.08.2015, 09:59:05
Pyton_000 Dobra to jeszcze raz...
Jakie polecenie wykonujesz... 27.08.2015, 10:07:16
mrc Cała procedura wygląda tak:
Robię branch z master... 27.08.2015, 10:11:15
Pyton_000 Zapytam jeszcze raz....
Jakie polecenia wykonujesz... 27.08.2015, 10:13:08
Pyton_000 `git merge mybranch` tutaj masz problem.
z... 27.08.2015, 10:19:50
mrc Przed git merge mybranch robię git status i mam:
... 27.08.2015, 10:24:29
Pyton_000 nie przed a po
lub przed merge na master zrób
gi... 27.08.2015, 10:31:02
mrc git merge mybranch
CytatMerge branch 'mybranc... 27.08.2015, 10:39:17
nospor @mrc to zes zagial klina naszemu lokalnemu specowi... 27.08.2015, 10:43:38
mrc @nospor
Próbowałem clona w nowym katalogu. Proble... 27.08.2015, 10:46:22
Pyton_000 Zrób jeszcze `git fetch origin` i pokaż wy... 27.08.2015, 10:46:58
nospor Cytatktoś jakiś cwany mógł zrobić niechcący push -... 27.08.2015, 10:48:10 ![]() ![]() |
|
Aktualny czas: 29.12.2025 - 23:35 |