Hi..

I am creating a git server to centralize the projects, so that developers 
can commit the changed code to remote servers, but I can not configure the 
access to different user push on the remote server.

the configuration 
~$ git config rm user.name user1
~$ git config rm user.email us...@dominus.br
---------------------------------------------------
remote server 
~$ git remote add portintra git://192.168.3.2//project/one/
---------------------------------------------------

~$ git config --list
user.name=Users
color.ui=true
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.sharedrepository=1
receive.denynonfastforwards=true
remote.portintra.url=git://192.168.3.2//project/one
emote.portintra.fetch=+refs/heads/*:refs/remotes/portintra/*
user.name=user1
user.email=us...@dominus.br
-------------------------------------------------------
~$ git remote -v
portintra       git://t://192.168.3.2//project/one (fetch)
portintra       git://t://192.168.3.2//project/one (push)
---------------------------------------------------------
~$ git commit -m "first test"

---------------------------------------------------------------------
The remote server I need to commit files 192.160.3.2 name 'portintra"
just it...
cd  //project/one/
git init --share
-------------------------------------------------------

Server GIT  

~$ git status
 On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       new file:   test
#
~$ git push portintra
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:

  git config --global push.default matching

To squelch this message and adopt the new behavior now, use:

  git config --global push.default simple

See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)

fatal: unable to connect to 190.160.2.3:
192.160.2.3[0: 192.160.2.3]: errno=Conection refused
-----------------------------------------------------------------------------------------------

could someone help me please, I searched on some sites with google search 
and didnt find a answer for how to do the correct setup

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

Reply via email to