carpentries-incubator / carpentries-incubator/swc_github_flow

Shoudn't one be in the local repo itself to add a remote?

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
12
Forks
9
PR merge metrics
No merged PRs in 30d

Description

In the part 3 (Option 2 - Use a command line interface with git), step e), I got an error message when I tried to follow the instructions exactly. Turns out that one had to move to the newly created repo locally. This may be obvious to experienced git users, but to me (new user) it was not.

Maybe add something like:

e) Now, enter the repository that you just created, with the command `cd` + `lessonname`. You should now be within your local repository. You can check this in the console by looking at the address that is automatically printed after your username above the command prompt.

f) Lastly, add the Carpentry repository you forked from as a remote using the format `git remote add upstream https://github.com/url/for/lesson`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.