[git-users] bare repo file permission issues when sharing with multiple users

2015-08-05 Thread dexter ietf
two users belonging to the same group are unable to commit
to a shared repository. i did configure the core.sharedrepository to group
still after the first user has committed the second user is unable to
commit. the following is how the objects folder is looking like, with
the following state it is allowing dick to commit but not tom, when
dick does chmod 777 -R objects, then tom can commit too, looks
like the other option is taking effect rather than the group option.
notice that all the users belong to group 'blue'. and i did set the
chmod g+s objects.. still not helping, i googled around a lot and
tried so many options unable to get this work. btw the repo is a bare
repo.

drwxrwsrwx 2 tom blue 4096 Aug  5 06:10 b6
drwxrwsrwx 2 harry blue 4096 Aug  5 06:10 9d
drwxrwsr-x 2 dick blue 4096 Aug  5 06:10 17
drwxrwsrwx 2 tom blue 4096 Aug  5 06:10 83
drwxrwsr-x 2 dick blue 4096 Aug  5 06:10 69
drwxrwsr-x 2 dick blue 4096 Aug  5 06:10 d7
drwxrwsrwx 2 tom blue 4096 Aug  5 06:10 4a

-- 
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] bare repo file permission issues when sharing with multiple users

2015-08-05 Thread dexter ietf
On Wednesday, August 5, 2015 at 8:28:42 PM UTC+5:30, Sean Johnson wrote:

 Git uses a distributed model. The correct approach is for the second user 
 to clone the repository.


they did clone a separate repo, the problem is they are unable to push
back to the repo they cloned from, because of the permission issues
like i explained above. 

-- 
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] git fetch doesn't update latest tags on a bare repo.

2015-07-31 Thread dexter ietf

On Tuesday, July 28, 2015 at 12:01:36 AM UTC+5:30, Konstantin Khomoutov 
wrote:

 On Sun, 26 Jul 2015 22:52:21 -0700 (PDT) 
 dexter ietf dexte...@gmail.com javascript: wrote: 

   git pull is actually the same as if you write git fetch and then 


Hi Konstantin,

Thanks for the detailed reply. it makes more sense now.
I generally do read the documentation before posting
the question. Many times i get lost in the complexities
of git while reading the documentation. Your answer
helped me, thanks again.

cheers 

-- 
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] git fetch doesn't update latest tags on a bare repo.

2015-07-26 Thread dexter ietf
On Friday, July 24, 2015 at 5:08:00 PM UTC+5:30, Gergely Polonkai wrote:

 git pull is actually the same as if you write git fetch and then git merge.

 git-fetch doesn't update anything in your working directory, it just 
 download the changes from the remote. Think about it as if I ask you what 
 did you change in the code? You tell me, but I don't apply it to my 
 version yet; that's what git-merge is for.


 Hi Gergely,

Thanks for the reply.
but i don't quiet get it, since its a bare repo i'm not worried about 
merging the tree.
the remote and bare-repo have diverged, i want to get that latest data from 
the
remote (latest commits, tags etc..). if this doesn't happen, my bare-repo 
will always
be out-of-date,maybe i'm using the wrong command. git fetch doesn't seem to 
be
the right command for the job. i hope i'm clear now.

thanks again..

 

-- 
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] git fetch doesn't update latest tags on a bare repo.

2015-07-24 Thread dexter ietf

On Thursday, July 23, 2015 at 8:12:45 PM UTC+5:30, Konstantin Khomoutov 
wrote:

 On Thu, 23 Jul 2015 06:44:41 -0700 (PDT) 
 dexter ietf dexte...@gmail.com javascript: wrote: 

 That's almost zero information in your problem statement. 


ok, the remote repo from which i cloned the bare repo has the following 
tags:

tagv10
tagv9
tagv8
tagv7
..
tagv1

while my repo has only tags starting from tagv7, that was the latest tag
when i cloned the bare repo. 

also the HEAD of the remote repo and my bare repo is pointing at
different commits even after 'git fetch', i was expecting 'git fetch'
is just like 'git pull' on a non-bare repo. what am i missing ..?

-- 
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.


[git-users] git fetch doesn't update latest tags on a bare repo.

2015-07-23 Thread dexter ietf
Hi,

i have a bare repo, when i do a git fetch, the remote tags are not getting
updated, though the 'fetch command' runs successfully. please shed
some light. 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.


[git-users] bare repository checkout

2015-07-23 Thread dexter ietf
Hi,

bare repository only contains the meta data, but when i clone from a 
bare-repo
full tree will be checked out. how does git manage to achieve that. i know 
it's
a newbie question. but surprised by the fact that git can do that. so 
curious to
know the answer asap. thanks.

-dexter

-- 
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.


[git-users] pushing a private branch to a remote master branch.

2015-07-23 Thread dexter ietf
Hi, This is what i did,

git main repo, call it (M):

- clone (M) call it (M-merge)

- clone (M) call it (C-merge)
 - on C-merge, add a new remote for (M-merge), call it Remote-M

 - on C-merge, create a branch called SC-merge and set it track Remote-M

 - make a commit to SC-merge and try to push it. it says everything is 
up-to-date,
   but clearly i have one commit, which i want it to be pushed to (M-merge).

   when i googled around, i realized the problem seem to be we can't push a
   local branch to a remote master branch. But that's precisely is my 
requirement,
   how do i get around this problem.

-- 
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] adding a remote on a private branch.

2015-07-22 Thread dexter ietf
Does it work even if the original cloned branch is off of (P),
i'm just trying to understand how and why this can work.

(Ma) is Machine A
(Mb) is Machine B

(P) - parent branch

Ma - clone P, call it Pa
 - create private branch Pva in the same tree,  i want to set the 
remote as (Pb)

Mb - Clone P, call it Pb

I'm just trying to understand if the above is valid configuration ? thanks 
a lot for your help.

On Tuesday, July 21, 2015 at 8:07:13 PM UTC+5:30, Magnus Therning wrote:

 On Mon, Jul 20, 2015 at 11:51:10PM -0700, dexter ietf wrote: 
  Hi, 
  
  i want to add a remote for a private branch. i have a parent 
  repository call it (P).  and two clones of P on different machines 
  (a) and (b), call it Pa and Pb.  now in machine (a) i want to create 
  a private branch tracking Pb, how do i go about achieving this, any 
  help is appreciated.. thanks! 

 Add the remote using `git remote add ...`, then use `git fetch name 
 of remote` to get the changesets, and then just check out the branch 
 you want using `git checkout --track name of remote branch`. 

 You should find this information easily in any online git tutorial, 
 e.g. here http://git-scm.com/book/en/v2/Git-Branching-Remote-Branches 

 /M 

 -- 
 Magnus Therning  OpenPGP: 0xAB4DFBA4 
 email: mag...@therning.org javascript:   jabber: mag...@therning.org 
 javascript: 
 twitter: magthe   http://therning.org/magnus 

 The British have the perfect temperament to be hackers--technically 
 skilled, slightly disrespectful of authority, and just a touch of 
 criminal behavior. 
  -- Mary Ann Davidson, Oracle's Security Chief 


-- 
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.


[git-users] adding a remote on a private branch.

2015-07-21 Thread dexter ietf
Hi,

i want to add a remote for a private branch. i have a parent repository 
call it (P).
and two clones of P on different machines (a) and (b), call it Pa and Pb. 
now 
in machine (a) i want to create a private branch tracking Pb, how do i go 
about
achieving this, any help is appreciated.. thanks!

-dexter

-- 
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.


[git-users] git log --graph

2014-06-26 Thread dexter ietf
how to interpret the output of git log --graph, is there any explanation or 
good documentation available for this.

-dexter

-- 
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.


[git-users] diff most recent commit

2014-05-29 Thread dexter ietf
hi,

how to see the diff of a file with it's most recent commit.
also show to take the diff of file:lineno with its most
recent commit on the line. note that the recent commit for
a file and file:lineno might be different.

-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] diff most recent commit

2014-05-29 Thread dexter ietf

On Friday, May 30, 2014 10:49:29 AM UTC+5:30, charlesmanning wrote:

 git log -p filename


git log lists all the commits, how about if just want to see most recent 
commit
or most recent 2 commits on a file and per line basis.
can we achieve the same with 'git diff', because this will help me view the 
diff
from vimdiff. with git log i can't achieve that. 

-- 
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.


[git-users] git commit on a folder

2014-03-05 Thread dexter ietf
what it means to git when i try to commit on the local folder.
for example git commit . is there any real use case for this ?

-- 
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] effect of git checkout master on master branch

2014-02-28 Thread dexter ietf
i'm already on master branch, what's the effect of running the 'git 
checkout master' while on master branch ?

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] Re: git rebase keeps giving the conflict

2013-09-22 Thread dexter ietf
On Saturday, September 21, 2013 5:18:13 PM UTC+5:30, dexter ietf wrote:

 hi,

 i cloned  a new tree, made changes to file readme.txt
 meantime readme.txt in the remote has changed at
 the same location. when i do a git pull i got merge
 conflicts, i resolved the conflicts and did a 'git commit'
 now i did git rebase, somehow i'm seeing the conflict
 again, now i fixed the conflict and did 'git rebase --continue'
 the conflict shows up agiain, how can i get around this,
 am i doing something wrong, or is there a bug in git ?
 any help appreciated.

 -dexter


i'm facing the same issue as mentioned in this thread
http://stackoverflow.com/questions/4033009/git-rebase-conflicts-keep-blocking-progress
there seems to be no valid solution for this. 

git-folks can anyone look into it.

-- 
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 rebase keeps giving the conflict

2013-09-21 Thread dexter ietf
hi,

i cloned  a new tree, made changes to file readme.txt
meantime readme.txt in the remote has changed at
the same location. when i do a git pull i got merge
conflicts, i resolved the conflicts and did a 'git commit'
now i did git rebase, somehow i'm seeing the conflict
again, now i fixed the conflict and did 'git rebase --continue'
the conflict shows up agiain, how can i get around this,
am i doing something wrong, or is there a bug in git ?
any help appreciated.

-dexter

-- 
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 rebase after a pull

2013-09-21 Thread dexter ietf
is it required to do a git pull before doing a git push.
and is it required to do a git rebase after git pull just
before git push. one of my git repo mandates the 
above wondering if there is a valid reason for this.

-dexter

-- 
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] avoid git deleting tags file

2013-09-03 Thread dexter ietf
On Tuesday, September 3, 2013 8:07:06 PM UTC+5:30, William Seiti Mizuta 
wrote:

 Hi Dexter,

 you are using option x in git clean command. In the manual, the option x 
 tells:

 -x
Don’t use the standard ignore rules read from .gitignore (per 
 directory) and $GIT_DIR/info/exclude, but do still use the ignore rules 
 given with -e options. This allows removing all untracked
files, including build products. This can be used (possibly in 
 conjunction with git reset) to create a pristine working directory to test 
 a clean build.

 So, if you don't want to delete files in .gitignore, just don't use the 
 option x, only the options f and d: git clean -fd


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

 On Tue, Sep 3, 2013 at 10:33 AM, dexter ietf dexte...@gmail.comjavascript:
  wrote:

 hi,

 when i run git clean -xfd, git deletes my tags file.
 i have the tag file listed in gitignore, but how do
 i tell git not to remove the tags file.

 -dexter

  -- 
 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+...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.


as simple as that, thanks for the help.
i should have rtfm, but it scares that
s***t out of me once i open the manual. 

-- 
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 log takes lot of time

2013-09-01 Thread dexter ietf
On Monday, September 2, 2013 12:59:13 AM UTC+5:30, Thomas Ferris Nicolaisen 
wrote:

 On Friday, August 30, 2013 3:48:24 PM UTC+2, dexter ietf wrote:


 i'm running git version 1.7.9.5 in cygwin with no encryption and local 
 drive.
 i'm using time command to measure the time and i'm not using --no-pager 

  
 Well, Git on Windows might be a bit slow, but that sounds a bit too slow. 
 What kind of hardware do you have?


i'm on Intel i5 CPU with 2.4 GHz processor and 4 GB RAM.
only 'git log' takes long time for example 'git status' comes
up fast. i would understand if it was other way around but
oddly its not. so there is something wrong. are there
any debugs i can enable in git, i can check what's really
going on inside git. 

-- 
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 log takes lot of time

2013-08-30 Thread dexter ietf
On Friday, August 30, 2013 11:21:05 AM UTC+5:30, Thomas Ferris Nicolaisen 
wrote:

 On Thursday, August 29, 2013 6:52:38 PM UTC+2, dexter ietf wrote:

 this is my git repo size, why does git log takes such huge time and how 
 do i improve the time.


 real 0m35.603s
 user0m08.093s
 sys 0m22.900s


 $ du -h .git
 27K .git/hooks
 437K.git/info
 3.0K.git/logs/refs/heads
 2.0K.git/logs/refs/remotes/origin
 2.0K.git/logs/refs/remotes
 5.0K.git/logs/refs
 9.0K.git/logs
 1.0K.git/objects/info
 1.4G.git/objects/pack
 1.4G.git/objects
 0 .git/refs/heads
 1.0K.git/refs/remotes/origin
 1.0K.git/refs/remotes
 0 .git/refs/tags
 1.0K.git/refs
 1.4G.git


 Please tell us which version of Git you have and which operating system 
 you are on (it looks *nix'ish, but it could be cygwin, I guess).

 What kind of partition/filesystem is the repository checked out on? Is it 
 encrypted? Is it a remote/mounted drive?

 What command are you doing exactly and how do you time it? Usually git log 
 will page the first results into your view, so it starts immediately. Are 
 you measuring the time it takes to output the entire log (like git log 
 --no-pager, if so, why)?

 i'm running git version 1.7.9.5 in cygwin with no encryption and local 
drive.
i'm using time command to measure the time and i'm not using --no-pager 

-- 
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 log takes lot of time

2013-08-29 Thread dexter ietf
this is my git repo size, why does git log takes such huge time and how do 
i improve the time.


real 0m35.603s
user0m08.093s
sys 0m22.900s


$ du -h .git
27K .git/hooks
437K.git/info
3.0K.git/logs/refs/heads
2.0K.git/logs/refs/remotes/origin
2.0K.git/logs/refs/remotes
5.0K.git/logs/refs
9.0K.git/logs
1.0K.git/objects/info
1.4G.git/objects/pack
1.4G.git/objects
0 .git/refs/heads
1.0K.git/refs/remotes/origin
1.0K.git/refs/remotes
0 .git/refs/tags
1.0K.git/refs
1.4G.git

-- 
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] error during git pull

2013-08-26 Thread dexter ietf
i thought this would be the cause and none of my commit
has one/tgt tracked, i confirmed it by running 'git log'
which doesn't list 'one/tgt' as a committed file. so i'm
sure i haven't committed that file.

On Monday, August 26, 2013 8:15:33 PM UTC+5:30, Gergely Polonkai wrote:

 Hello,

 a commit you are applying has one/tgt tracked. As you have it untracked, 
 git refuses to overwrite it.

 Move one/tgt to one/tgt.backup, do the pull, and check which version do 
 you want to keep. Or, if you are sure you don't need that file of yours, 
 you can simply delete it, and do the pull afterwards.

 Best,
 Gergely
 On 26 Aug 2013 16:41, dexter ietf dexte...@gmail.com javascript: 
 wrote:

 I get the following error when doing a 'git pull'
 i haven't touched the file 'one/tgt' nor committed
 anything related to it, while checking it i found
 that 'one/tgt' is an untracked file. why am i getting
 this error for an untracked file, why does git care
 about an untracked file and how do i get around it.

 error: Entry 'one/tgt' would be overwritten by merge. Cannot merge.
 fatal: merging of trees 4d147268c6e37117525b44272835e5a5c50091f5 and 
 d90cf8aa21afc8d3847b792a2207ea9e3a9f96cf failed
 Merge with strategy recursive failed.

  -- 
 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+...@googlegroups.com javascript:.
 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.


Re: [git-users] Re: git tree subfolder workflow

2013-08-19 Thread dexter ietf
 I do not think it's possible to only clone a part of a repo. That being
said, I have not experimented with subtree nor submodule. Have you look
into that yet?

i've looked into submodule i don't think that's what i need.
i need to look at subtree. btw, i tried cloning to local
disk running git inside a cygwin, guess what i still see
the same problem, atleast on nfs, 'git log' was fast,
now even 'git log' takes too long, i'm not sure if
cygwin is to blame here.

thanks for your responses.


On Sat, Aug 17, 2013 at 9:26 PM, Huu Da Tran huuda.t...@gmail.com wrote:

 I do not think it's possible to only clone a part of a repo. That being
 said, I have not experimented with subtree nor submodule. Have you look
 into that yet?

 Is there any way for you to access to repo from a remote host, but not
 mounted nfs? Seems like a flaw in network design.

 One hour is not the long if you let run over night (my experience took
 over 35min without nfs). Is that nfs plus your network time from the
 server? If so, maybe you can get on that server and clone locally on the
 server so it is no more nfs. Then from your local machine, clone your
 cloned?

 Unfortunately, I can only offer potential workaround. I have no experience
 to say that when pushing back to the nfs repo would be any faster if you
 could clone only a directory.

 Hope that helps a little.

 HD.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Git for human beings group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/git-users/C7xeO8r97Yo/unsubscribe.
 To unsubscribe from this group and all its topics, 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: git tree subfolder workflow

2013-08-17 Thread dexter ietf
 Is the size of all directories a concern at all?

yes, it is, to clone a full repo to my local disk it is taking more than an 
hour.

original problem: the server where i clone is on nfs and git is too slow on
nfs, even a simple 'git status' on a local folder is taking 2~3 mins.
so somebody suggested to clone the tree on to a local disk. since the
bulk of my work is only on a single folder, i want to try this approach.
if it's even allowed ?



On Saturday, August 17, 2013 6:48:43 PM UTC+5:30, Huu Da Tran wrote:

 Is the size of all directories a concern at all?

 You clone it once and just leave it there and do normal git.

 In other words, can you explain the problems you are trying to avoid?

 I worked with big repos and cloning is slow, but then branching, commit 
 and push is fast, so maybe you are trying to do something different?

 Hope this helps,

 HD.



-- 
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] git on nfs is outrageously slow

2013-08-14 Thread dexter ietf
 That's exactly what I do. I have my bare repository on an NFS mounted 
filesystem, but my working directory on my local disk. It works well for me.

hi john, can you explain me what do you mean by the above statement,
what's the workflow. do you clone only part of the tree to your local
disk ?

On Wednesday, July 31, 2013 5:36:41 PM UTC+5:30, John McKown wrote:






-- 
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] git on nfs is outrageously slow

2013-08-01 Thread dexter ietf
On Wednesday, July 31, 2013 5:36:41 PM UTC+5:30, John McKown wrote:

 That's exactly what I do. I have my bare repository on an NFS mounted 
 filesystem, but my working directory on my local disk. It works well for me.

 Also, what is the speed between the local machine and the NFS server? I 
 have a gigabyte connection on a LAN. Also, how busy is the NFS server? What 
 else is running on the same server? How many concurrent users are there and 
 what are they doing? As you may have guessed, I am wondering if the problem 
 is the server or the connection to the server, rather than git itself.

 On Wed, Jul 31, 2013 at 6:39 AM, Johannes Müller 
 dersinnd...@gmx.netjavascript:
  wrote:

 You can make a local clone of your git repository and use the nfs git
 repository to push your changes to. This way you get to work with git
 with normal speed and only when pushing, there is a speed penalty.
 Otherwise, you could try to configurate nfs so that it caches access to
 the file. Note that afaik nfs might cause problems when you access the
 same file simultaneously with several users because it does not support
 locking a file.

 Johannes

 On 31.07.2013 13:01, dexter ietf wrote:
  please help on fixing it, it is so slow that i started hating git (for
  wrong reasons)
  i'm sure there is a way out, please help me to make my git faster.
 
  -dexter
 
  --
  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+...@googlegroups.com javascript:.
  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+...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




the nfs server is from my company, cloning the tree to a local disk is good 
idea,
but i'd loose the backup functionality that nfs provides, and the build 
environment
is present in the nfs server as well, i'm not sure how can i get around 
this, or can
i clone the tree from my nfs tree. will the following scheme work ? are 
there any
documentation to do the same.


origin/master 
|
|
nfs server --- clone a tree here. t1 -- (build here)
|
|
local disk --- clone from t1, (work here, push to t1)

-- 
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 name-rev --tags ouput

2013-08-01 Thread dexter ietf
what's the meaning of the following in git name-rev sha output.
i know the commit went into 100.15 version, but what to make
of ^2~4^2~1, any pointer to documentation ?

tags/100.15^2~4^2~1

-- 
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 on nfs is outrageously slow

2013-07-31 Thread dexter ietf
please help on fixing it, it is so slow that i started hating git (for 
wrong reasons)
i'm sure there is a way out, please help me to make my git faster.

-dexter

-- 
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.