git/list[1] front-page[2] threads[3] people[4] search[5] about
 

svn2git question: error: unknown switch `t'

From
Nnolan.ring@emc.com <nolan.ring@emc.com>
Date
Sep 20, 2010, 17:39 UTC
Message-ID
<4E10ACF241081344B9702AA8C6440440C5B14FB331@MX01A.corp.emc.com>
All,
I'm running the command svn2git -v --notags --branches REbranches <URL>
and I'm getting the following:
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
  git checkout -b <new_branch_name>
HEAD is now at 38b1da3... Update NEO targets to point to NeoMain kernel
Running command: git branch -t NeoMain@34 remotes/NeoMain@34
error: unknown switch `t'
usage: git branch [options] [-r | -a] [--merged | --no-merged]
   or: git branch [options] [-l] [-f] <branchname> [<start-point>]
   or: git branch [options] [-r] (-d | -D) <branchname>
   or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>
Generic options
    -v, --verbose         be verbose
    --track               set up tracking mode (see git-pull(1))
    --color               use colored output
    -r                    act on remote-tracking branches
    --contains <commit>   print only branches that contain the commit
    --abbrev[=<n>]        use <n> digits to display SHA-1s
Specific git-branch actions:
    -a                    list both remote-tracking and local branches
    -d                    delete fully merged branch
    -D                    delete branch (even if not merged)
    -m                    move/rename a branch and its reflog
    -M                    move/rename a branch, even if target exists
    -l                    create the branch's reflog
    -f                    force creation (when already exists)
    --no-merged <commit>  print only not merged branches
    --merged <commit>     print only merged branches
Where did the -t come from?  What is this telling me?
Thanks much.
Nolan 
Next: Ævar Arnfjörð Bjarmason
Message 1 of 7 in “svn2git question: error: unknown switch `t'”
  1. nolan.ring@emc.comSep 20, 2010
  2. Ævar Arnfjörð BjarmasonSep 20, 2010
  3. nolan.ring@emc.comSep 20, 2010
  4. Ævar Arnfjörð BjarmasonSep 20, 2010
  5. nolan.ring@emc.comSep 20, 2010
  6. nolan.ring@emc.comSep 21, 2010
  7. Ævar Arnfjörð BjarmasonSep 21, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.