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%)
|
git merge mybranch
Cytat Merge branch 'mybranch' into master # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit. ~ ~ Robię w vim :q i git status: Cytat On branch master Your branch is ahead of 'origin/master' by 2 commits. (use "git push" to publish your local commits) nothing to commit, working directory clean Na dodatek powiem, że to musi być coś w repo (a nie lokalnie), bo inni którzy korzystają z tego repo mają to samo. Ten post edytował mrc 27.08.2015, 10:40:35 |
|
|
|
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
mrc Kodgit checkout master
git pull origin master
git ... 27.08.2015, 10:18:24
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
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 - 16:55 |