Previous video blog: Part 1
Video 2:
(Stream 1, Part 2)
https://youtu.be/Vwr2P7OWAWI
So now, with luck, you have a React Router app. Before diving into it, create a repository on GitHub.
Signing up for GitHub is pretty straightforward.
-
Once you have an account, you can create a new repository.
Most of the default settings are fine. For simplicity I named it the same thing as my local repository. I did not include anything in the initial repo, because all the files I want to upload will come from the local repo.
-
Next I tried to follow the instructs to push connect the local repository to the remote repo and push the changes, but I ran into a snag. I needed to authenticate git to GitHub.
The solution I eventually found was to install the GitHub CLI tool, which is a separate binary from
git, calledgh. There were a few options for installinggh. I chose to download the binary and then run it bycd-ing into the directory and running:
./gh auth loginThe
./ghindicates that I want to run a binary in my current working directory.Another good option would be to first install Homebrew, and then use it to install
gh. On my primary development computer I have Homebrew installed. I don't have to avail myself of it often, but I probably end up using it a few times a year to install some binary that would be hard to install otherwise.Once I'm authenticated with GitHub, I'm able to push my the project.
I turn next to VS Code, starting the download.
That's it for this video. Next time, I actually open VS Code!
Next video blog: Part 3
Top comments (0)