[git-users] newbie confused about git server on windows 8

2013-11-11 Thread Ray Tayek
hi, i have git version 1.8.4.msysgit.0 installed.

if i run this as a daemon, where are the repositories located? (i.e. where 
do i do a mkdir foo.git; cd foo.git; git init --bare?)

how do i change where the (server) repositories live?

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/groups/opt_out.


[git-users] How to merge code from diff repo and other repo have different file structure ?

2013-11-11 Thread Fahim Patel
Hello,

I have four repo which are related to ech other. Now I have moved all four 
project in single repo in  4 folders.Please see below eg:-

old repositories structure
---
repo A 
repo B
repo C
repo D


new repository  structure 
---
Main/
   -- Folder A
   -- Folder B
   -- Folder C
   -- Folder D

Now I to move my repo A  code in Folder A.


Thanks


Best Regards
Fahim Babar Patel

-- 
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/groups/opt_out.


Re: [git-users] newbie confused about git server on windows 8

2013-11-11 Thread Konstantin Khomoutov
On Mon, 11 Nov 2013 02:50:11 -0800 (PST)
Ray Tayek rta...@gmail.com wrote:

 hi, i have git version 1.8.4.msysgit.0 installed.
 
 if i run this as a daemon, where are the repositories located? (i.e.
 where do i do a mkdir foo.git; cd foo.git; git init --bare?)
 
 how do i change where the (server) repositories live?

They're passed on the command-line of the daemon.

Run
git help daemon
in the console or the Run program (Win+r) dialog to get open the
daemon's manual page.

You might also be interested in its --base-path command-line option.

-- 
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/groups/opt_out.


Re: [git-users] How to merge code from diff repo and other repo have different file structure ?

2013-11-11 Thread Konstantin Khomoutov
On Mon, 11 Nov 2013 03:31:05 -0800 (PST)
Fahim Patel pafa...@gmail.com wrote:

 Hello,
 
 I have four repo which are related to ech other. Now I have moved all
 four project in single repo in  4 folders.Please see below eg:-
 
 old repositories structure
 ---
 repo A 
 repo B
 repo C
 repo D
 
 
 new repository  structure 
 ---
 Main/
-- Folder A
-- Folder B
-- Folder C
-- Folder D
 
 Now I to move my repo A  code in Folder A.

You need git-subtree which is now a part of the contrib section
of the Git itself [1]
Be sure to check its manual about the `add` command [2].

1. https://github.com/git/git/blob/master/contrib/subtree
2. https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt

-- 
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/groups/opt_out.


[git-users] Re: How to merge code from diff repo and other repo have different file structure ?

2013-11-11 Thread Fahim Patel
Thanks @Konstantin to reply. Following your URL

 You need git-subtree which is now a part of the contrib section 
of the Git itself [1] 
Be sure to check its manual about the `add` command [2]. 

1. https://github.com/git/git/blob/master/contrib/subtree 
2. https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt 

On Monday, November 11, 2013 5:01:05 PM UTC+5:30, Fahim Patel wrote:

 Hello,

 I have four repo which are related to ech other. Now I have moved all four 
 project in single repo in  4 folders.Please see below eg:-

 old repositories structure
 ---
 repo A 
 repo B
 repo C
 repo D


 new repository  structure 
 ---
 Main/
-- Folder A
-- Folder B
-- Folder C
-- Folder D

 Now I to move my repo A  code in Folder A.


 Thanks


 Best Regards
 Fahim Babar Patel



-- 
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/groups/opt_out.


[git-users] git clean help

2013-11-11 Thread David R
Hi, I am trying to use git clean -fd to remove an empty directory, however 
it keeps skipping over it. I cant figure out why, any help appreciated

-- 
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/groups/opt_out.


[git-users] Re: git clean help

2013-11-11 Thread David R
git status shows the empty directory that im trying to clean

-- 
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/groups/opt_out.


Re: [git-users] Re: git clean help

2013-11-11 Thread William Seiti Mizuta
This empty directory is under untracked files state?


William Seiti Mizuta
@williammizuta
Caelum | Ensino e Inovação
www.caelum.com.br


On Tue, Nov 12, 2013 at 12:04 AM, David R cdrtz1...@gmail.com wrote:

 git status shows the empty directory that im trying to clean

 --
 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/groups/opt_out.


-- 
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/groups/opt_out.


[git-users] Re: newbie confused about git server on windows 8

2013-11-11 Thread Ray Tayek


On Monday, November 11, 2013 2:50:11 AM UTC-8, Ray Tayek wrote:

 hi, i have git version 1.8.4.msysgit.0 installed.

 if i run this as a daemon, where are the repositories located? (i.e. where 
 do i do a mkdir foo.git; cd foo.git; git init --bare?)

 how do i change where the (server) repositories live?


using --base-path seems to work (thanks konstantin). i created a repository 
with init --bare.
and cloned it with clone git://localhost/foo.git.

i added a file and committed.

doing a push origin master got an acces denied or repository not exported.
so i added --enable=receive-pack to the deamon invocation.

now push origin master says:
 counting objects: 3 done
 writing objects: 100% (3/3)

and then hangs :(

git log says: fatal: bad default revision  'HEAD'

any pointers will be appreciated.

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/groups/opt_out.