Некоторое время назад я установил приложение Galaxy на свой сервер. Поскольку есть новый выпуск, я хотел его обновить и использую команду:
git checkout release_17.05 && git pull --ff-only origin release_17.05
но я получил сообщение об ошибке:
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
........
Если я сделаю git status:
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")
У меня вопрос: какой шаг нужно выполнить перед обновлением? Должен ли я сделать сначала git add -A && git commit
, а затем git pull
или, может быть, лучше git stash
, git pull
и _8 _ ??? Я знаю только основы git и поэтому не уверен, какой шаг мне следует выполнить в первую очередь?
Спасибо, Мария