Results 1 to 3 of 3

Thread: How to install git on SUSE :: i am on SUSE, and i want to install git

  1. #1

    Default How to install git on SUSE :: i am on SUSE, and i want to install git

    hello dear Opensuse-experts,





    Today i have some special issues: i want to get startet with GIT:



    The question is: How to install git on OpenSUSE :: i am on OpenSUSE, and i want to install git,


    can i do this with execute “zypper in git“:
    Code:
    marle:~ # zypper in git
    Loading repository data...
    Reading installed packages...
    'git' not found in package names. Trying capabilities.
    No provider of 'git' found.
    Resolving package dependencies...
    Nothing to do.

    well i thin that i can do this while use “zypper in git-core“:
    Code:
    marle:~ # zypper in git-core
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    The following 2 NEW packages are going to be installed:
      git-core perl-Error
    
    2 new packages to install.
    Overall download size: 3.3 MiB. Already cached: 0 B. After the operation, additional 19.99 MiB will be used.
    ......
    well - it seems just that simple - i think i am done: i can enjoy git now:

    Code:
    marle:~ # git
    usage: git [--version] [--help] [-C <path>] [-c name=value]
               [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
               [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
               [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
               <command> [<args>]
    now i try to dive into the most commonly used git commands....
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: How to install git on SUSE :: i am on SUSE, and i want to install git

    This is what I have installed, mind that it's on Tw:
    Code:
    knurpht@Knurpht-HP:~> rpm -qa | grep git-git-web-2.16.2-4.1.x86_64
    git-core-2.16.2-4.1.x86_64
    git-2.16.2-4.1.x86_64
    git-email-2.16.2-4.1.x86_64
    git-cvs-2.16.2-4.1.x86_64
    git-svn-2.16.2-4.1.x86_64
    git-gui-2.16.2-4.1.x86_64
    knurpht@Knurpht-HP:~>
    One of the most used commands for me is
    Code:
    git clone URL_TO_GIT_REPOSITORY_HERE
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: How to install git on SUSE :: i am on SUSE, and i want to install git

    You should be able to instll git with the command you first tried.

    Recommend you post your repos for review
    Code:
    zypper lr -d
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •