-1

I started learning java on hyperskill/ Jetbrains academy and finished my 1st project. How to upload it into github if I didn't use IDE, only built in code editor?

Searched info on github and hyperskill but unsuccessful...

OZ32
  • 21

1 Answers1

0

A simple approach is to install the GitHub CLI gh, and authenticate with gh auth login

From there, you can go to your local repository folder, and use gh repo create to:

  • create a new repository on GitHub
  • import your local sources

That is:

# create a remote repository from the current directory
gh repo create my-project --private --source=. --remote=upstream
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Note to self: That was my **29000th answer** on Stack Overflow (in 171 months), a bit more than 5 months after the [28000th answer](https://stackoverflow.com/a/72697130/6309). Before that: [27000th answer](https://stackoverflow.com/a/70504269/6309), [26000th answer](https://stackoverflow.com/a/68190336/6309), [25000th answer](https://stackoverflow.com/a/65370954/6309), [24000th answer](https://stackoverflow.com/a/62688871/6309), [23000th answer](https://stackoverflow.com/a/59853332/63099), [22000th answer](https://stackoverflow.com/a/57387243/6309), ... – VonC Dec 03 '22 at 10:50