1

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?

RIYAJ KHAN
  • 13,830
  • 5
  • 27
  • 48

2 Answers2

2

git log with flags you can see parent branch or branch topology.

$ git log --oneline --decorate --all --graph   

Possibly duplicate of this

Community
  • 1
  • 1
Sajib Khan
  • 18,145
  • 4
  • 50
  • 65
0

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.

Ivan
  • 2,739
  • 3
  • 18
  • 21