[GRLUG] Git help

Benjamin Flanders flanderb at gmail.com
Thu Mar 14 14:25:01 EDT 2013


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.


Share and Enjoy
Ben


On Thu, Mar 14, 2013 at 11:17 AM, Chase Bolen <chase.bolen at gmail.com> wrote:

> 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:
>
> git clone ../Dev .
>
> I used this to figure out all the pushing, pulling, merging, etc.
>
>
> On Thu, Mar 14, 2013 at 10:52 AM, Benjamin Flanders <flanderb at gmail.com>wrote:
>
>> I'm a git newbie so bear with me a bit.
>>
>> 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.
>>
>> I've git init'd the dev directory and committed
>>
>> Now I go to the working directory and try a
>>
>> git checkout master -- "dev directory"
>>
>> and I get an error fatal: not a git repository.
>>
>> 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
>>
>> What I am doing wrong?
>>
>> Thank you in advance for your help/
>>
>>
>> Share and Enjoy
>> Ben
>>
>> _______________________________________________
>> grlug mailing list
>> grlug at grlug.org
>> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>>
>
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20130314/81d11b6c/attachment.html>


More information about the grlug mailing list