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“:

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“:

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:

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…

This is what I have installed, mind that it’s on Tw:

knurpht@Knurpht-HP:~> rpm -qa | grep git-git-web-2.16.2-4.1.x86_64

One of the most used commands for me is


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

Recommend you post your repos for review

zypper lr -d