How to find the source branch for a tag

find the parent branch of a git branch
git tag
git push tags
git tag branch
git find where branch branched from
git tag list
svn tag vs branch
git tag vs branch

I have a tag in subversion that has been made some time in the past. I would like to know what branch it was created from. Is there a way to do this. I have tried

svn log --stop-on-copy

But this only gives me the revision number, not the branch path. I need the branch path so I can check it out. Any ideas, preferably a SVN command line method here would be appreciated.

svn log -v --stop-on-copy <url-of-the-tag> should give you this information as documented here.

Relevant excerpt:

In addition to the action codes which precede the changed paths, svn log with the
--verbose (-v) option will note whether a path was added or replaced as the result of 
a copy operation. It does so by printing (from COPY-FROM-PATH:COPY-FROM-REV) after such 
paths.

GIT Tags Guide, The Git source repo, for instance, contains more than 500 tags. A lightweight tag is very much like a branch that doesn't change — it's just a You can see the tag data along with the commit that was tagged by using the git show command:. To create a tag or branch: Select your repository from the repository source list. Browse through the repository to find the folder you want to tag (or branch). Copy the folder to your tagsor branchesfolder by holding down the Option(⌥) key while dragging the folder.

To get directly the right revision:

svn log -v -r0:HEAD --stop-on-copy --limit 1 <url-of-the-tag>

It will only print the revision from which a branch is created:

rxxx | Author | 2013-01-25 11:43:55 +0100 (fri., 2013, jan. 25) | 1 line
Changed paths:
   A /project/branches/branch (from /project/trunk/folder:ryyy)

The revision and path you are looking are: /project/trunk/folder:ryyy.

Do Git tags only apply to the current branch?, 2/'. Is there a way to check from which branch the pull request's source branch was created from? Contents[show] find tags, branches, commits, show all tags git tag -l show all branches git branch -a show remote branches git branch -r show CVS tag after cvs2svn -- git git show | grep tag show the tag you are currently working on git describe --tags show the branch you are currently working on git branch local_R194b local_R194c * local_ic_common_ver master show remote tags show tracked

This may be a little late, but I happened to stumble upon this while developing some PowerShell scripts

If you can use PowerShell, this may output the path which the tag/branch was copied from directly:

([Xml](svn log -v -r0:HEAD --stop-on-copy --limit 1 URL-HERE --xml)).log.logentry.paths.path.'copyfrom-path'

What happens here? The svn command is invoked with the --xml flag, so i can cast the returned value to [Xml], which in turn allows me to access the XML-Nodes of the svn-output.

git tag, The default destination URL for the new branch will be the source URL on of http://svn.collab.net/repos/ProjectName/tags/Release_1.10 , you would get an  Build kept failing for one of the projects that I was trying to compile and I was told that the source branch ( meaning the original branch from where my working branch got created from) just compiles fine. I had this doubt in my mind, is the branch that I'm working on is really branched from of from the same source branch that I was told?

Tagging, PhpStorm allows you to create branches or tags on the basis of your local working the source folder in the SVN Repositories tool window and choose the Branch or Tag and find the desired revision in the Subversion Changes Browser. 1 accepted. When you (left) click on a tag in the sidebar it'll navigate to that point in the log. You can right-click on this commit in the log (indeed, on any commit) and select 'Branch' to create a branch from that point. You must be a registered user to add a comment.

Solved: Knowing from which branch the current branch was c, From git man: --contains [<commit>]. Only list branches which contain the specified commit (HEAD if not specified). Implies --list . and. This document will discuss the Git concept of tagging and the git tag command. Tags are ref's that point to specific points in Git history. Tagging is generally used to capture a point in history that is used for a marked version release (i.e. v1.0.1). A tag is like a branch that doesn’t change.

Branching / Tagging, “Have you ever lost a branch, whose source code was not yet Git commands are secure and act as a check post; would not allow you to do so. in the references (branches or tags) of a repository and keeps a log history of  A git branch is an independent line of development taken from the same source code. Different branches can be merged into any one branch as long as they belong to the same repository. The diagram below illustrates how development can take place in parallel using branches. Multiple development projects taking place using the same source code.

Comments
  • But it gives me below message svn: OPTIONS of 'tag url': 200 OK (server root url)
  • Much more concise. Thank you.