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




[git-users] Workflow from personal to local to remote?

2013-07-31 Thread leam hall
I'm trying to design a workflow for our team and could use some advice. My 
git-fu is young. 

We have  a remote repo that will store the authoritative code. That will be 
pulled to a server local repo where the team has access. Each person will 
clone the local repo into their home directory, edit files, and then push 
to the local repo. Somehow we will trigger code review and acks, and then 
someone will push from the local repo to the authoritative repo. 

What I need help understanding is:

1. How to prevent code being pushed from local repo to authoritative until 
it is reviewed? Is this a process issue or does git have a way to enforce 
it?

2. For the few of us who can push from local to authoritative, how do I 
configure my .gitconfig to normally push to the local repo? My code should 
be reviewed, just like everyone else's. 

Thoughts? Pointers to documentation is fine, I just don't know what to look 
for.

Leam

-- 
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: GUI repository browser?

2013-07-31 Thread Dale R. Worley
 Date: Fri, 17 May 2013 12:17:11 -0700
 From: Bryce Verdier bryceverd...@gmail.com
 
 I think that qgit should meet most of your needs.

qgit is quite good.  It isn't integrated into Emacs, but it does seem
to do most of what I think I'll need to do.

Dale

-- 
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: pushing a commit on a local branch to a different remote branch

2013-07-31 Thread Huu Da Tran
On Wednesday, July 31, 2013 6:53:58 PM UTC-4, python.b...@gmail.com wrote:

 I synced to a repo tree which is branch jb... I have a local commit on 
 this branch which I am trying to push to a remote branch jb_mr2 and 
 running into following error..is there a git push command which I can use 
 to push this local commit to jb_mr2


Is there a specific reason why you do not fetch that remote jb_mr2 branch 
(if it exists), check that out, cherry pick the commit and push the jb_mr2 
branch back?

git fetch remote jb_mr2
git checkout -b jb_mr2 remote/jb_mr2
git cherry-pick ...
git push remote jb_mr2 


 qca-bld-03{73} git push ssh://
 company.com:29418/platform/vendor/com-proprietary/ship/ftm72bc75e409e50dcad29bd790b4b6478dc6668f12:refs/for/jb_mr2
 Counting objects: 9, done.
 Delta compression using up to 32 threads.
 Compressing objects: 100% (6/6), done.
 Writing objects: 100% (6/6), 7.01 KiB, done.
 Total 6 (delta 3), reused 0 (delta 0)
 remote: Resolving deltas: 100% (3/3)
 remote: Processing changes: refs: 1, done
 To ssh://company.com:29418/platform/vendor/com-proprietary/ship/ftm
  ! [remote rejected] 72bc75e409e50dcad29bd790b4b6478dc6668f12 - 
 refs/for/jb_mr2 (branch jb_mr2 not found)
 error: failed to push some refs to 'ssh://
 company.com:29418/platform/vendor/com-proprietary/ship/ftm'


-- 
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: Workflow from personal to local to remote?

2013-07-31 Thread Huu Da Tran


On Wednesday, July 31, 2013 11:22:10 AM UTC-4, leam hall wrote:

 I'm trying to design a workflow for our team and could use some advice. My 
 git-fu is young. 

 We have  a remote repo that will store the authoritative code. That will 
 be pulled to a server local repo where the team has access. Each person 
 will clone the local repo into their home directory, edit files, and then 
 push to the local repo. Somehow we will trigger code review and acks, and 
 then someone will push from the local repo to the authoritative repo. 

 What I need help understanding is:

 1. How to prevent code being pushed from local repo to authoritative until 
 it is reviewed? Is this a process issue or does git have a way to enforce 
 it?


Git itself is only using working conventions. So it's a process external to 
git to actually prevent people from doing (bad?) things.

The easiest setup would be to have:  /local/git/repo-to-review.git   with 
permissions to all dev to write to it. Then have another 
/local/git/authoritative.git which only has write permissions for that 
man-who-will-get-fired-for-merging-bad-code user.

Otherwise, you could use things like bitbucket. Have a repo with one 
read-access to all devs. They would fork into their bitbucket account, then 
clone their bitbucket to their local machine. Make changes to their local 
machine, push code to their bitbucket. Then make a pull request to the 
authoritative bitbucket. The code review process is started and merge if 
satisfied.

 

 2. For the few of us who can push from local to authoritative, how do I 
 configure my .gitconfig to normally push to the local repo? My code should 
 be reviewed, just like everyone else's.


If you prefer not relying on the tools like bitbucket but rather have 
convention-accepted process, I would suggest you have the origin remote 
being your dev bitbucket, and have another remote name for the 
authoritative repo. On the example above:

git clone /local/git/repo-to-review.git my-project
cd my-project
git remote add production /local/git/authoritative.git

then it's just that normal work of git checkout and git push and pull...
 

Thoughts? Pointers to documentation is fine, I just don't know what to look 
 for.

 Leam


Hope this was helpful.

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.