From: Jakub Narebski <jnareb@gmail.com>
To: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: Tong Sun <suntong@cpan.org>, git@vger.kernel.org
Subject: Re: Recommended work flow with git to send in patches
Date: Tue, 27 Jul 2010 10:11:38 -0700 (PDT) [thread overview]
Message-ID: <m339v4luk2.fsf@localhost.localdomain> (raw)
In-Reply-To: <20100727164500.GD5351@kytes>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> Tong Sun writes:
> > Thanks a lot for the comment.
> >
> > Could you elaborate it a bit with actual commands, starting from 'git
> > pull git://remote/project master' please?
>
> $ git symbolic-ref HEAD refs/heads/rollout
> $ rm .git/index # Git recreates it automatically anyway
> $ git add LICENSE
> $ git commit -m "Add LICENSE" # root commit
> $ # git add ... git commit cycle
Ramkumar, in git 1.7.2 you can simply use "git checkout --orphan newbranch".
--
Jakub Narebski
Poland
ShadeHawk on #git
next prev parent reply other threads:[~2010-07-27 17:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 15:31 Recommended work flow with git to send in patches Tong Sun
2010-07-27 15:35 ` Ævar Arnfjörð Bjarmason
2010-07-27 15:43 ` Tong Sun
2010-07-27 15:39 ` Ramkumar Ramachandra
2010-07-27 15:47 ` Tong Sun
2010-07-27 16:45 ` Ramkumar Ramachandra
2010-07-27 17:11 ` Jakub Narebski [this message]
2010-07-27 17:28 ` Ramkumar Ramachandra
2010-07-27 17:35 ` Jakub Narebski
2010-07-27 19:48 ` Tong Sun
2010-07-28 16:49 ` Jakub Narebski
2010-07-28 22:40 ` Tong Sun
2010-07-28 23:20 ` Jakub Narebski
2010-07-28 23:30 ` Tong Sun
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=m339v4luk2.fsf@localhost.localdomain \
--to=jnareb@gmail.com \
--cc=artagnon@gmail.com \
--cc=git@vger.kernel.org \
--cc=suntong@cpan.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).