简体   繁体   中英

Compare two git branches

I have master and develop branches. develop shows it's 20 commits ahead and 1429 commits behind master :

分支发展

However, if I compare develop with master I see 8 files have changed:

比较发展与主人

What could be the reason for this difference shown in message?

I have master and develop branch. develop branch shows it's 20 commits ahead and 1429 commits behind master (ref Image 1) However if I compare the develop with master branch I see 8 files has changed (Ref Image 2).

The develop branch started from master some time ago. During this time, 1429 commits have been added in master , and 20 commits have been added to develop . In these 20 commits, a total of 8 files were modified.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM