M
M
Messi2016-12-08 14:12:06
git
Messi, 2016-12-08 14:12:06

How to see which commit will be pushed?

Received via git pull updates from the master.
I created a new branch, did nothing yet, I look at git log, it shows me some commits.
How can I see what will be pushed from the current branch when git push?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Seva, 2016-12-08
@Zewkin

git status

A
aol-nnov, 2016-12-08
@aol-nnov

git fetch origin; git log -p master..origin/master

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question