I have a quick question regarding git commits and branches.
Say that I want to get two commit idn based on two dates.
I do the bellow on the "Master Branch".
git rev-list --since='2015-01-01' --reverse origin/master | head -1 git rev-list --until='2015-06-30' origin/master | head -1
Now if I switch branch,I.E I do a:
git checkout testing
will I only get commit ID'n that is from the testing branch or will I also get commit ID'n from all other branches including the master branch?
A simple yes no will do, I want to be sure that I don't get any commits from the master branch so that I only get code from commits on the testing branch and not code from any other branch.
Thanks in advance.