For example, if I am branch A, and created new branch B with the command
git checkout -b B
is there any way that sometimes later I can find out where branch B copied from?? (A) in this case
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could do
git merge-base branchX branchYthat will give you the common parent. That will tell you when it split off the branch, but there is no way to tell who it split off of.