Answer the question
In order to leave comments, you need to log in
How to check if a branch is up to date with a remote repository?
How can I list my local branches in git?
After doing a selective check on whether such a branch exists on the remote repository
And if it exists, then how to check if there have been changes in it in order to update to the latest on this branch
Answer the question
In order to leave comments, you need to log in
git fetch # предварительно скачать обновления
git branch -vv # показать список локальных веток
# в скобках покажет с какими вышестоящими ветками они связаны
# если вышестоящая ветка удалена, то будет пометка gone
git switch ветка # выборочно переключиться на ветку
git status # посмотреть отставание от вышестоящей
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question