<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 05/06/17 06:49 PM, Dhaval Giani via
talk wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPhKKr_mzt-2-ovt1t=SsV+K3g2FUa9baLw4M3sBmDF8GRkU2w@mail.gmail.com">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jun 5, 2017 at 6:47 PM, Giles
Orr via talk <span dir="ltr"><<a
href="mailto:talk@gtalug.org" target="_blank"
moz-do-not-send="true">talk@gtalug.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">This
isn't strictly a Linux question, but this list is a great<br>
knowledge base and I know a lot of you use git. Usually
on Linux.<br>
:-)<br>
<br>
I've written a Python program that checks all of your
repositories to<br>
see if they're up-to-date with your remotes. But given
the<br>
flexibility of git - and the output of 'git remote show
origin' which<br>
shows separate URLs for "Fetch" and "Push" - it's occurred
to me that<br>
it's probably NOT safe to assume that the Fetch and Push
URLs are the<br>
same. But ... does anyone actually have different Fetch
and Push<br>
URLs? Why would you do this?<br>
<span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote>
<div><br>
</div>
<div>I do. On some machines, I don't have ssh-agent setup
because I can't set it up :-). In that case, my push is to
ssh and my fetch is from git://. (I hope you all use
passcodes with your ssh keys :-) )</div>
<div><br>
</div>
<div>Dhaval</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
I too have separate push and pull pointers on some repos, as they
push to upstream from my dev repo. The latter is often broken, as it
saves stuff from work and home, and gets pulled into the oddball
repo to get regression-tested, on it's way upstream.<br>
<br>
It makes perfect sense to say "the regression-test repo of X is two
commits ahead of its source and up to date with its upstream", and
it'suseful.<br>
<br>
--dave<br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
David Collier-Brown, | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
<a class="moz-txt-link-abbreviated" href="mailto:davecb@spamcop.net">davecb@spamcop.net</a> | -- Mark Twain
</pre>
</body>
</html>