From: Andreas Schwab <schwab@linux-m68k•org>
To: Rudy YAYON <Rudy.YAYON.ext@boursorama•fr>
Cc: "git\@vger.kernel.org" <git@vger•kernel.org>
Subject: Re: Exclude a file from a pull request
Date: Wed, 07 Oct 2015 18:33:21 +0200 [thread overview]
Message-ID: <87oaga8wq6.fsf@igel.home> (raw)
In-Reply-To: <88A9B78851BE8145A87C05C88FC3ED840101DEB1@bsrspdag001.boursorama.fr> (Rudy YAYON's message of "Wed, 7 Oct 2015 15:55:18 +0000")
Rudy YAYON <Rudy.YAYON.ext@boursorama•fr> writes:
> My concern is that one important file (Puppetfile) needs to be pushed to my remote repository so I can check the changes I commited.
> To do that, I need to commit changes (included to the Puppetfile) then I need to push it to the remote repository.
>
> Once I want to merge these changes from a specific branch to the master branch, I do NOT want to include this file. In other words, I want to merge all files except the Puppetfile file.
>
> What is the best way for you to do that?
Create a branch that does not include the file.
Andreas.
--
Andreas Schwab, schwab@linux-m68k•org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2015-10-07 16:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-07 15:55 Exclude a file from a pull request Rudy YAYON
2015-10-07 16:33 ` Andreas Schwab [this message]
2015-10-08 0:30 ` Jacob Keller
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=87oaga8wq6.fsf@igel.home \
--to=schwab@linux-m68k$(echo .)org \
--cc=Rudy.YAYON.ext@boursorama$(echo .)fr \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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