N
N
Nikita Kudrin2020-10-19 22:12:21
git
Nikita Kudrin, 2020-10-19 22:12:21

How to move files from VSCode to GitHub using Git?

How to transfer files from a local project?

I created a project on my PC, but I didn't create a repository on GitHab.
I have created a repository, how do I move all files from PC to this repository using Git?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
olkhovichs, 2020-10-19
@HepkaPlay

git init
git commit -m "first commit"
git remote add origin https://github.com/account/name.git (link to your repository)
git push -u origin main

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question