Skip to content

Commit d0b88c8

Browse files
Update README.md
1 parent 7f00867 commit d0b88c8

File tree

1 file changed

+3
-40
lines changed

1 file changed

+3
-40
lines changed

README.md

Lines changed: 3 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,46 +3,10 @@
33
# Git on z/OS
44
Git is a popular version control system that is widely used in the open source community.
55

6-
## Pre-requisites
7-
Git on z/OS has the following dependencies:
8-
* bash - https://github.com/ZOSOpenTools/bashport/releases
9-
* perl - https://github.com/ZOSOpenTools/perlport/releases
10-
* less - (default pager) //github.com/ZOSOpenTools/lessport/releases
11-
* ncurses - https://github.com/ZOSOpenTools/ncursesport/releases
12-
13-
Once you set up these dependences, you can then install Git.
14-
156
## Obtaining Git on z/OS
16-
Git on z/OS can be downloaded from https://github.com/ZOSOpenTools/gitport/releases.
17-
18-
If you have curl on your system, you can download the latest version with:
19-
```
20-
curl -L -o gitport.pax.Z https://pathtogit.pax.Z
21-
```
22-
You can then extract the pax.Z as follows:
23-
```
24-
pax -rf gitport.pax.Z
25-
cd git-*
26-
```
27-
28-
## Setting up a CA Certificate
29-
To obtain a CA certificate, you can download the recommended CA certificates extracted from Mozilla here:
30-
https://curl.se/docs/caextract.html
7+
Git on z/OS can be downloaded from https://github.com/zopencommunity/gitport/releases.
318

32-
If you have [zopen](https://zosopentools.github.io/meta/#/Guides/zopen) in your path, you can use the `zopen update-cacerts` command to download the latest CA certificate.
33-
34-
Once you have a CA Certificate on your file system, you can set the GIT_SSL_CAINFO environment variable to point to it.
35-
```
36-
export GIT_SSL_CAINFO=/path/to/my/cacert.pem
37-
```
38-
39-
40-
## Setting up Git on z/OS
41-
Once installed, you will need to source the .env file as follows:
42-
43-
`. ./.env`
44-
45-
This will set the PATH, LIBPATH, MANPATH and other Git environment variables.
9+
However, it is recommended that you obtain Git via the [zopen package manager](https://zopen.community/#/Guides/QuickStart).
4610

4711
## Encoding considerations
4812
Git on z/OS leverages Git's `.gitattributes` support to enable support for various encodings, documented [here](https://git-scm.com/docs/gitattributes).
@@ -103,7 +67,6 @@ cd git
10367
ls -lT # you will notice that all files are now tagged as 819
10468
```
10569

106-
10770
### Binary files
10871
To specify a binary encoding, you can use the binary attribute as follows:
10972
```
@@ -125,4 +88,4 @@ You can specify multiple working-tree-encoding attributes, where the later attri
12588
### Migration considerations
12689
If you are migrating from Rocket Software's Git, then the good news is that Git on z/OS should be compatible.
12790

128-
If you encounter any issues, please open an issue under https://github.com/ZOSOpenTools/gitport/issues.
91+
If you encounter any issues, please open an issue under https://github.com/zopencommunity/gitport/issues.

0 commit comments

Comments
 (0)