A
A
Aryeh Leonid R.2017-01-24 10:57:45
git
Aryeh Leonid R., 2017-01-24 10:57:45

How to find out which commits will be uploaded to the repository with the next push command?

The usual flow in my work: one commit - one push.
However, sometimes this rule is violated and confusion can arise. For example, a commit that
is planned for another delivery will be uploaded (yes, I know what a branch is in git, but we're talking about confusion ...).
So, how do you know which commits will be pushed to the repository with the next push command?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2017-01-24
@aryeh

git fetch origin
git log master..origin/master

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question