<div dir="ltr"><div dir="ltr">Hi Team,<div><br></div><div>I am trying to contribute to the existing Git repos.</div><div><br></div><div>I have followed the process from the below link </div><div><br></div><div><a href="https://wiki.centos.org/Sources">https://wiki.centos.org/Sources</a><br></div><div><br></div><div><pre style="border-width:1px 1px 1px 4px;border-style:solid;border-color:rgb(229,229,229);background:rgb(255,250,233);padding:0.5em 1em;margin-top:0.5em;margin-bottom:0.5em;margin-left:1.5em;font-family:"DejaVu Sans Mono","Liberation Mono",monospace;color:rgb(0,0,0);font-size:13.6px">[user@host]$ git clone  <a href="https://git.centos.org/git/rpms/kernel.git">https://git.centos.org/git/rpms/kernel.git</a> 
<span class="gmail-anchor" id="gmail-line-63"></span>cd kernel
<span class="gmail-anchor" id="gmail-line-64"></span># let's work on the centos7 kernel
<span class="gmail-anchor" id="gmail-line-65"></span>[user@host]$ git checkout c7
<span class="gmail-anchor" id="gmail-line-66"></span>[user@host]$ ~/bin/get_sources.sh
<span class="gmail-anchor" id="gmail-line-67"></span># switch to the local tree to edit
<span class="gmail-anchor" id="gmail-line-68"></span>[user@host]$ git checkout -b my-kernel
<span class="gmail-anchor" id="gmail-line-69"></span># make edits to SPEC file, etc 
<span class="gmail-anchor" id="gmail-line-70"></span>[user@host]$ git commit -m 'my local change' -a</pre></div><div><br></div><div>This command    <span style="color:rgb(0,0,0);font-family:"DejaVu Sans Mono","Liberation Mono",monospace;font-size:13.6px"><b style=""><span style="background-color:rgb(255,250,233)">~/bin/get_sources.sh  has downloaded the </span><span style="background-color:rgb(255,255,0)">xxxx.tar.gz</span><span style="background-color:rgb(255,250,233)"> file in the SOURCES directory.</span></b></span></div><div><span style="background-color:rgb(255,250,233);color:rgb(0,0,0);font-family:"DejaVu Sans Mono","Liberation Mono",monospace;font-size:13.6px"><b><br></b></span></div><div><span style="background-color:rgb(255,250,233);color:rgb(0,0,0);font-family:"DejaVu Sans Mono","Liberation Mono",monospace;font-size:13.6px"><b>Now I have extracted the tar file and did the changes. </b></span></div><div><br></div><div>At this stage If I commit then I have to include all the extracted files. </div><div><br></div><div>If I run <span style="background-color:rgb(255,250,233);color:rgb(0,0,0);font-family:"DejaVu Sans Mono","Liberation Mono",monospace;font-size:13.6px">git format-patch c7  it generate the file which includes all the files.</span></div><div><br></div><div>Please  guide me how to contribute  to the existing GIT REPOS.</div><div><br></div><div><br></div><div>Thanks and Regards,</div><div>Amarjeet Singh</div><div><br></div></div></div>