<div class="gmail_quote">2009/7/22 Todd Zullinger <span dir="ltr"><<a href="mailto:tmz@pobox.com">tmz@pobox.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">Aaron Gray wrote:<br>> Right I am not doing upstream commits back to svn luckily. I submit<br>> patches which I prefer anyway as it keeps things simpler and safer;<br>> I really don't want to corrupt a major software projects repository<br>

> :)<br><br></div>Where's the fun in being safe? ;)<br>
<div class="im"><br>> Thanks again for the help and advice, I am going to do one of my ssh<br>> crib sheets for git that I can cut and paste into the terminal,<br>> makes life simpler, and less error prone. I was thinking I could<br>

> allow the user to enter their repository path then generate all the<br>> command lines for whatever they want to choose, all with a little<br>> bit of Javascript, for a bit of fun :)<br><br></div>You have a good definition of fun, I like that.<br>

</blockquote>
<div> </div>
<div>Yeah, quick useful scripts or hacks can make life alot easier and more fun.</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span><br>If you haven't seen this already, it might be something you'll like.<br>You can avoid having to type in the full remote URL when you do a<br>

push, pull, fetch, etc by using the git remote command (or just<br>editing the git config file) in a repository.  Say I want to push and<br>pull from a repo fairly often, in my working repo I could run<br>something like this:<br>

<br>   # Add an 'fp' remote to save some typing<br>   $ git remote add fp ssh://<a href="http://fedorapeople.org/~tmz/public_git/some.git" target="_blank">fedorapeople.org/~tmz/public_git/some.git</a><br></blockquote>


<div> </div>
<div>Nice :)</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span><br>   # List the configured remotes and their URLs<br>   $ git remote -v<br>   fp      ssh://<a href="http://fedorapeople.org/~tmz/public_git/some.git" target="_blank">fedorapeople.org/~tmz/public_git/some.git</a><br>

<br>   # Push my master branch to <a href="http://fedorapeople.org/" target="_blank">fedorapeople.org</a><br>   $ git push fp master<br></blockquote>
<div> </div>
<div>Okay.</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span><br>You can have many remotes configured, making it easy to push and pull<br>between a bunch of people.<br>

<br>The bash completion shipped with git will even complete these remote<br>names for me, allowing me to avoid yet more typing (at the expense of<br>my poor tab key).  Using that, perhaps you could generate the git<br>remote lines for your users, to help make their pushes easier to read<br>

and type.<br></blockquote>
<div> </div>
<div>Yeah, I don't really have any other users at present, but that may change depending on how the project goes. I really need a better uprate on my server as its only a 1/4 Megabit up :(</div>
<div> </div>
<div>I tried a three months ago to get git+ssh pushes to work with another guy and failed then tried github but had problems with that as I could not get syncing with the svn repository to work preoperly for some reason I cannot remember. Anyway great I have a working repository now and can get down to some real work. </div>


<div> </div>
<div>Cheers, Aaron</div>
<div> </div></div>