[git-users] two git's on my local drive?

2014-05-06 Thread jjjsmith
Hi,

I'm currently using git to update my production server.  I have a copy of 
the source on my local hard drive, and i use git add/commit/push  to 
make push my changes to the prod server.  A pretty standard setup, I think.

I'd like to set up a dev environment of my site on my local drive.  

My plan is to use git clone to make a copy of my local git dir to my 
wampserver directory.  

So 
- my prod git is - c:\git
- my dev git is - c:\wamp\www\dev

Will these copies interfere with each other?  I *think* not.  I use git via 
command line - so I'm thinking that whichever git is being used is the one 
who's directory I'm in.  But not sure ...

Thanks.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] two git's on my local drive?

2014-05-06 Thread Philip Oakley
- Original Message - 
  From: jjjsmith 
  To: git-users@googlegroups.com 
  Sent: Tuesday, May 06, 2014 7:51 PM
  Subject: [git-users] two git's on my local drive?


  Hi,

  I'm currently using git to update my production server.  I have a copy of the 
source on my local hard drive, and i use git add/commit/push  to make 
push my changes to the prod server.  A pretty standard setup, I think.

  I'd like to set up a dev environment of my site on my local drive.  

  My plan is to use git clone to make a copy of my local git dir to my 
wampserver directory.  

  So 
  - my prod git is - c:\git
  - my dev git is - c:\wamp\www\dev

  Will these copies interfere with each other?  I *think* not.  
Correct. 
You can have as many repos as you like, each can be a remote repo for the 
others if appropriate.

  I use git via command line - so I'm thinking that whichever git is being used 
is the one who's directory I'm in.  But not sure ...

  Thanks.

Philip
--

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.