From: Wang Shilong <wangshilong1991@gmail.com>
To: git@vger.kernel.org
Cc: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Subject: [Question] Usercase about git clone
Date: Fri, 17 Jan 2014 23:53:15 +0800 [thread overview]
Message-ID: <C4261F36-897A-4131-B76C-2E370AFBA63C@gmail.com> (raw)
Hello everyone,
I have a question about command 'git clone'
If i clone a repo from remote, and if i run command:
# git remote show origin
It will output origin's url, however, this is what i want, i just want to clone
codes, but keep everything else unchanged, for example branches and
they url….
How can i implement such functions by 'git clone'….I think this is really
helpful because i really don't want to reset my branches' url every one…
Really thanks for your time and response!
Thanks,
Wang
next reply other threads:[~2014-01-17 15:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-17 15:53 Wang Shilong [this message]
2014-01-19 14:44 ` [Question] Usercase about git clone Christian Couder
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=C4261F36-897A-4131-B76C-2E370AFBA63C@gmail.com \
--to=wangshilong1991@gmail.com \
--cc=git@vger.kernel.org \
--cc=wangsl.fnst@cn.fujitsu.com \
/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).