<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">According to the page you have linked above<br>"You should now have files in the working directory named as<br>0001-<commit>.patch and 0002-<commit>.patch etc; These files should be<br>emailed to the centos-devel list as attachments ( ie, not inline in<br>the email body ). Include information about what change you are<br>requesting and if needed include information on <a href="http://bugs.centos.org/" rel="noreferrer" target="_blank">bugs.centos.org</a> that<br>points to the list archive page that has your email from<br><a href="http://lists.centos.org/mailman/listinfo/centos-devel" rel="noreferrer" target="_blank">http://lists.centos.org/mailman/listinfo/centos-devel</a>."</blockquote> <br><div>Yes, I have the file genereated but this file includes the whole project ( extracted tar ) instead of taking the changes that I did.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 13, 2019 at 11:38 PM Troy Dawson <<a href="mailto:tdawson@redhat.com">tdawson@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Feb 13, 2019 at 9:50 AM Amarjeet Singh <<a href="mailto:amarjeetxc@gmail.com" target="_blank">amarjeetxc@gmail.com</a>> wrote:<br>
><br>
> Hi Team,<br>
><br>
> I am trying to contribute to the existing Git repos.<br>
><br>
> I have followed the process from the below link<br>
><br>
> <a href="https://wiki.centos.org/Sources" rel="noreferrer" target="_blank">https://wiki.centos.org/Sources</a><br>
><br>
> [user@host]$ git clone  <a href="https://git.centos.org/git/rpms/kernel.git" rel="noreferrer" target="_blank">https://git.centos.org/git/rpms/kernel.git</a><br>
> cd kernel<br>
> # let's work on the centos7 kernel<br>
> [user@host]$ git checkout c7<br>
> [user@host]$ ~/bin/get_sources.sh<br>
> # switch to the local tree to edit<br>
> [user@host]$ git checkout -b my-kernel<br>
> # make edits to SPEC file, etc<br>
> [user@host]$ git commit -m 'my local change' -a<br>
><br>
><br>
> This command    ~/bin/get_sources.sh  has downloaded the xxxx.tar.gz file in the SOURCES directory.<br>
><br>
> Now I have extracted the tar file and did the changes.<br>
><br>
> At this stage If I commit then I have to include all the extracted files.<br>
><br>
> If I run git format-patch c7  it generate the file which includes all the files.<br>
><br>
> Please  guide me how to contribute  to the existing GIT REPOS.<br>
><br>
<br>
According to the page you have linked above<br>
"You should now have files in the working directory named as<br>
0001-<commit>.patch and 0002-<commit>.patch etc; These files should be<br>
emailed to the centos-devel list as attachments ( ie, not inline in<br>
the email body ). Include information about what change you are<br>
requesting and if needed include information on <a href="http://bugs.centos.org" rel="noreferrer" target="_blank">bugs.centos.org</a> that<br>
points to the list archive page that has your email from<br>
<a href="http://lists.centos.org/mailman/listinfo/centos-devel" rel="noreferrer" target="_blank">http://lists.centos.org/mailman/listinfo/centos-devel</a>."<br>
<br>
I've never done that, so beyond that, hopefully someone else can explain.<br>
<br>
Troy<br>
_______________________________________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org" target="_blank">CentOS-devel@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/centos-devel" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/centos-devel</a><br>
</blockquote></div>