Functional GIT on F11 ?

Paul W. Frields stickster at gmail.com
Wed Jul 22 13:02:16 UTC 2009


On Wed, Jul 22, 2009 at 02:12:01AM +0100, Aaron Gray wrote:
> 2009/7/21 Paul W. Frields <stickster at gmail.com>
> 
>     On Tue, Jul 21, 2009 at 06:57:58PM +0100, Aaron Gray wrote:
>     > 2009/7/21 Todd Zullinger <tmz at pobox.com>
>     >
>     >     Aaron Gray wrote:
>     >     > Ah 'the man' Paul, this is good to hear, do you know of
>     >     > a howto for Fedora + GIT + SSH Pushes as I could not get
>     >     > it to work, even with SELinux in permissive mode.
>     >
>     >     There shouldn't be much, if anything, Fedora specific
>     >     about this, so the git User Manual is probably a good
>     >     place to start:
>     >
>     >     http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#
>     >     sharing-development
>     >
>     >     (There are a lot of git tutorials on the web, many of
>     >     which are filled with incorrect, outdated, or otherwise
>     >     useless information. :)
>     >
>     >     > If not could you give me any hints or pointers as to how
>     >     > to do this.
>     >
>     >     Assuming you have ssh access to a remote host already, it
>     >     can be as simple as:
>     >
>     >     $ gitdir="/path/to/some.git"
>     >     $ ssh remotehost "mkdir -p $gitdir; git --git-dir $gitdir init
>     --bare"
>     >     $ cd /path/to/local/git-repo
>     >     $ git push ssh://remotehost/path/to/some.git master
>     >
>     >     Without knowing just what part of this is giving you
>     >     trouble, it's hard to be more helpful.  Let us know where
>     >     you are getting stuck and I'm sure we can help get you
>     >     past the problem(s).
>     >
>     > Thanks, I will have a go tomorrow as I have not touched GIT
>     > for a few months now and need to jem up again. The let you
>     > know what problems I was having if I cannot get it to work.
>     >
>     > IIRC pull over SSH worked but push did not, either that or I
>     > could not get SSH to work at all with GIT, sorry I cannot
>     > remember.
> 
>     I'm a huge fan of the git community book:
> 
>     http://book.git-scm.com/
>  
> Looks good, I knew upto about page 43, but then it did SSH but no mention of
> the mechanics.
>  
> Nice stuff on internals later on in the book.

You still haven't told us exactly what you are trying to do.  Are you
trying to just push to a remote repository set up elsewhere?  Set up a
repository on a system you own to which others can push via SSH?
Something else?

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug




More information about the fedora-list mailing list