<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi<br>
<br>
I think you are misunderstanding how this works.<br>
<br>
git contains only the parts of the rpm like patches and the spec
file. You don't check out the sources as part of the git checkout,
you use get-sources.sh that pulls the tarball down from a
lookaside cache. So when you run your git format-patch, it thinks
that everything that get-sources.sh put there is new so it wants
to upload it...<br>
<br>
Which brings us to the other misunderstanding. You'll find that
git.c.o is readonly. Only Redhat have commit access to it.<br>
<br>
Trevor<br>
<br>
On 13/02/2019 17:49, Amarjeet Singh wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+PBmR4FO=a5e=X2__=jg3FQTzAW9pgaG4BAkAhHaM8QoXwXpg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true">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" moz-do-not-send="true">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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
CentOS-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS-devel@centos.org">CentOS-devel@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/centos-devel">https://lists.centos.org/mailman/listinfo/centos-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>