• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Skara
  4. FAQ

Page History

Versions Compared

Old Version 25

changes.mady.by.user Erik Helin

Saved on Mar 26, 2020

compared with

New Version 26

changes.mady.by.user Erik Helin

Saved on Mar 26, 2020

  • Previous Change: Difference between versions 24 and 25
  • Next Change: Difference between versions 26 and 27
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: if the only difference in filenames between the private key and the public key is that the public key ends in .pub, then you can use the path to private key in the above command as well.

Configuration

GitHub SSH URLs are cumbersome to type, can I make them shorter?

Yes, by adding a host alias for github.com in your SSH configuration file ~/.ssh/config. Add the following lines to ~/.ssh/config:

Code Block
languagetext
Host github.com github gh
User git
Hostname github.com

You can now clone from GitHub using the aliases listed after Host:

Code Block
languagebash
$ git clone github.com:openjdk/jdk
$ git clone github:openjdk/jdk
$ git clone gh:openjdk/jdk
Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 681, "requestCorrelationId": "8e2fb42764723eee"}