Skip to content

Instantly share code, notes, and snippets.

View hpl002's full-sized avatar

Herman Stoud Platou hpl002

View GitHub Profile
@hpl002
hpl002 / test-config.json
Created November 28, 2020 14:51
simple test gist
{
"openapi": "3.0.0",
"info": {
"title": "Example API of new version",
"description": "Example desc",
"version": "v1",
"contact": {
"email": "[email protected]"
}
},

Prelude

While the git cli is expansive, it does not support creating new remote repositories directly from the terminal. Ref: forum post

We can however use hub to solve this slight annoyance..


  1. Install hub via your preferred package manager, instructions here

  2. Initialize a new git repo locally

@hpl002
hpl002 / cloudSettings
Last active November 30, 2020 12:46
Creating new local repository, creating new remote repository via CLI, and pushing local to remote
{"lastUpload":"2020-11-30T12:46:52.571Z","extensionVersion":"v3.4.3"}