Осиливаю тут гит, и возникла непонятка, чего это он ругается, когда делаешь push в master? Вот такой вот ворнинг:
warning: updating the current branch
warning: Updating the currently checked out branch may cause confusion,
warning: as the index and work tree do not reflect changes that are in HEAD.
warning: As a result, you may see the changes you just pushed into it
warning: reverted when you run 'git diff' over there, and you may want
warning: to run 'git reset --hard' before starting to work to recover.
warning:
warning: You can set 'receive.denyCurrentBranch' configuration variable to
warning: 'refuse' in the remote repository to forbid pushing into its
warning: current branch.
warning: To allow pushing into the current branch, you can set it to 'ignore';
warning: but this is not recommended unless you arranged to update its work
warning: tree to match what you pushed in some other way.
warning:
warning: To squelch this message, you can set it to 'warn'.
warning:
warning: Note that the default will change in a future version of git
warning: to refuse updating the current branch unless you have the
warning: configuration variable set to either 'ignore' or 'warn'.
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум git workflow (2011)
- Форум Отстал от жизни: GIT хочет непонятного (push, matching, simple, current, upstream) (2014)
- Форум Git теперь ругается на git pull (2020)
- Форум не пушится проект из-за readme (2016)
- Форум git replay (2023)
- Форум Вопрос по git pull. (2013)
- Форум Not possible to fast-forward, aborting (2021)
- Форум checkout в мастер. Не ясно почему так (2020)
- Новости Git 2.3.0 (2015)
- Форум В Slackware-current окончательно приехал PAM (2020)