<div dir="ltr">Awesome, thank you Lee and Chase. The idea I had is more the procedure that Chase outlines, but Lee's idea reminds me of how I used to use svn and is more "natural" sounding and having the code on a separate machine sounds safer to me.<div>
<br></div></div><div class="gmail_extra"><br clear="all"><div>Share and Enjoy<br>Ben</div>
<br><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 11:17 AM, Chase Bolen <span dir="ltr"><<a href="mailto:chase.bolen@gmail.com" target="_blank">chase.bolen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">If you're just experimenting with git, you could also clone your "dev" directory into your "working" one. This will create another repository with its origin branch set up to be the dev directory. If you're in the working directory:<div>
<br></div><div>git clone ../Dev .</div><div><br></div><div>I used this to figure out all the pushing, pulling, merging, etc.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Mar 14, 2013 at 10:52 AM, Benjamin Flanders <span dir="ltr"><<a href="mailto:flanderb@gmail.com" target="_blank">flanderb@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I'm a git newbie so bear with me a bit.<div><br></div><div>I have a Dev directory where I do all my programming. I'd like to setup a "working" directory with all the current working versions of the scripts that I have.</div>
<div><br></div><div>I've git init'd the dev directory and committed </div><div><br></div><div>Now I go to the working directory and try a </div><div><br></div><div>git checkout master -- "dev directory"</div>
<div><br></div><div>and I get an error fatal: not a git repository. </div><div><br></div><div>I'm using windows 7, and git bash command line. I've tried the "~/dev directory" and the /c/path_to_dev_directory" types of directory paths. neither work</div>
<div><br></div><div>What I am doing wrong?</div><div><br></div><div>Thank you in advance for your help/</div><div><br></div><div><br clear="all"><div>Share and Enjoy<br>Ben</div>
</div></div>
<br></div></div>_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org" target="_blank">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br></blockquote></div><br></div>