Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: create github remote #11

Open
mesopelagique opened this issue Jul 20, 2020 · 0 comments
Open

Feature Request: create github remote #11

mesopelagique opened this issue Jul 20, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@mesopelagique
Copy link
Collaborator

mesopelagique commented Jul 20, 2020

User Story: After I init my repo, I want to link it to github and push it

Two step (if not already linked to github)

  • add the remote : git remote add origin https://github.com/:owner/:repo.git (if origin is already taken, github)
  • then create the repo online if github

I test it with basic authentication (ie. https://username:passOrToken@...)
https://github.com/mesopelagique/Gihub.4d#create-an-organization-repository

$github:=github.API.new()
$github.authBasic("username";"password or token")
$result:=$github.create(github.Repository.new(New object("name"; "MyRepo"))

(It is possible to create under an organisation, also set private directly with special info in api)

@mesopelagique mesopelagique added the enhancement New feature or request label Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant