If tree is like this:
Same tree you can see by(if you do not have gitk): git log --all --graph
to get a all files:
$ (git diff --name-status master...staging && \
git diff --name-status $(git merge-base master staging) fb-4) \
| cut -f 2 | sort | uniq
2-2.txt
2.txt
3.txt
4.txt
Good picture that explain difference between "..." and ".." - https://stackoverflow.com/a/46345364
Same tree you can see by(if you do not have gitk): git log --all --graph
to get a all files:
$ (git diff --name-status master...staging && \
git diff --name-status $(git merge-base master staging) fb-4) \
| cut -f 2 | sort | uniq
2-2.txt
2.txt
3.txt
4.txt
Good picture that explain difference between "..." and ".." - https://stackoverflow.com/a/46345364
No comments:
Post a Comment