Skip to content

3. Adding a remote repo

Wizard of z/OS edited this page Nov 3, 2019 · 1 revision

Remotes

So, you've created your first repository wiki here, but now you want to push it to a remote repo (GitHub, BitBucket, GitLab, ...).

Create new repository at GitHub

After creating your repository (and probably adding some datasets to it) head on over to your 'external'-repository website (GitHub used in this example) and create a new repo.

Screenshot from 2019-10-31 15-16-18

Don't add any README's, .gitignore, or other things and press "Create Repository" and a page like to following appears.

Your new repository

Screenshot from 2019-10-31 15-48-22

Copy the ssh-link

Screenshot from 2019-10-31 15-50-15

And head back to zigi in 3270 and type the REMOTE command on the main repository panel.

Screenshot from 2019-10-31 15-51-25

On the next panel, paste that SSH-link like so:

Screenshot from 2019-10-31 15-51-49

Press enter. And after a bit you will see:

Screenshot from 2019-10-31 15-52-31

Then all is setup correctly

Screenshot from 2019-10-31 15-53-05

And if you take a look at your repo on GitHub:

Screenshot from 2019-10-31 15-53-34