Vor einiger Zeit habe ich Galaxy Anwendung auf meinem Server installiert. Da es neue Release ist, wollte ich es aktualisieren und ich verwende Befehl:Lokales Repository Upgrade
git checkout release_17.05 && git pull --ff-only origin release_17.05
aber ich habe Nachricht Fehler:
Already on 'release_17.05'
From https://github.com/galaxyproject/galaxy
* branch release_17.05 -> FETCH_HEAD
Updating 5a97b8f..9dca211
error: Your local changes to the following files would be overwritten by merge:
.ci/first_startup.sh
.ci/flake8_blacklist.txt
.ci/py3_sources.txt
........
Wenn ich Status git:
On branch release_17.05 Changes not staged for commit: (use "git add/rm <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory)
modified: .ci/check_controller.sh
modified: .ci/check_mako.sh
modified: .ci/first_startup.sh
modified: .ci/flake8_blacklist.txt
modified: .ci/py3_sources.txt
modified: .coveragerc
modified: .gitignore
modified: .travis.yml
....
Untracked files:
(use "git add <file>..." to include in what will be committed)
FETCH_HEAD
config/plugins/interactive_environments/jupyter/config/allowed_images.yml
config/plugins/interactive_environments/rstudio/config/allowed_images.yml
current_files.summary
file_list.txt
static/CDAworkflow.html
static/CDAworkflow.xml
static/Capture.PNG
static/Einladung_Galaxy_03_04_2017.pdf
static/FTP.pdf
static/Homo_sapiens.GRCh38.86.gtf
......
no changes added to commit (use "git add" and/or "git commit -a")
Meine Frage: Welchen Schritt sollte ich vor dem Upgrade durchführen? Sollte ich zuerst git add -A && git commit
und dann git pull
oder vielleicht besser git stash
, git pull
und git stash pop
??? Ich kenne nur Git Grundlagen und daher bin ich mir nicht sicher welcher Schritt soll ich zuerst durchführen?
Danke, Marija
Vielen Dank für Ihren Rat! – Marija