Re: Functional GIT on F11 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So I don't get hurt?!  That's the best you can come up with you
dull-witted termagant!
    -- Stewie Griffin, on why he needs a car seat

Attachment: pgp4TIEuVSVyw.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux