Answer the question
In order to leave comments, you need to log in
How to sync github repository in vscode?
Hey!
Let's say there is a repository that I cloned to my computer using the vscode extension. Committed the change for a while. Then it so happened that I had to transfer the files with the code to a USB flash drive and change it on another computer, which was without an Internet connection and therefore I could not set up a git there and make a clone. The problem is that I now need to push the code that I changed into git so that only those files that have been changed would be pushed. On the Internet, I found a command with a parameter -f
that cleared the repository and overwrote all files from scratch. But I only need to write down the changed files. I would be grateful for help!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question