From: 乙酸鋰 <ch3cooli@gmail.com>
To: git@vger.kernel.org
Subject: git checkout -t -B
Date: Sun, 26 Aug 2012 15:27:26 +0800 [thread overview]
Message-ID: <CAHtLG6QgnvG6eYEChojY_jB25QWqxis6brbst2ff5FixFLAXAw@mail.gmail.com> (raw)
Dear Sir,
I want to make current branch abcde a remote tracking branch with origin/abcde.
Since I am working on current branch abcde, I have to use the force option.
So I run
git checkout -t -B origin/abcde
works
but
git checkout -B -t origin/abcde
does not.
Could you document the order of parameters or fix the behaviour?
Thanks,
ch3cooli
next reply other threads:[~2012-08-26 7:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-26 7:27 乙酸鋰 [this message]
2012-08-26 18:38 ` git checkout -t -B Junio C Hamano
2012-08-27 12:20 ` Nguyen Thai Ngoc Duy
2012-08-27 17:03 ` Junio C Hamano
2012-08-27 23:09 ` Philip Oakley
2012-08-27 23:22 ` Junio C Hamano
2012-08-28 20:01 ` Philip Oakley
2012-08-26 18:42 ` [PATCH] doc: "git checkout -b/-B/--orphan" always takes a branch name Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHtLG6QgnvG6eYEChojY_jB25QWqxis6brbst2ff5FixFLAXAw@mail.gmail.com \
--to=ch3cooli@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).