I have develop
branch on my local.Its created using remote develop
branch.
Now I want to know from which other remote branch
this remote develop branch
is created?
I have develop
branch on my local.Its created using remote develop
branch.
Now I want to know from which other remote branch
this remote develop branch
is created?
git log
with flags you can see parent branch or branch topology.
$ git log --oneline --decorate --all --graph
Possibly duplicate of this
Any branch is just a pointer to specific commit. When you clone any repository you get a list of "remote" branches as a list of pointers with prefix original/
. You can't really know who created this branches.
When you create a new local branch and push it to remote repository, you actually create a new pointer there. Since now any person who clones the repository will get a list of "remote" branches including your branch.