A
A
Anton2017-04-20 17:10:11
git
Anton, 2017-04-20 17:10:11

How to find out if there are new commits on the server?

Hello. There is a remote repository, how can I see if there are new commits in it that I don’t have?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
toxa82, 2017-09-09
@toxa82

# в принципе это покажет какие ветки обновились
git fetch
# разница между ветками по коммитам
git log --pretty=oneline origin/master...master --left-right

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question