Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(You did create a GitHub account, didn't you? If not, see *New Developer Workflow.)

Clone from Origin Repository

...

This creates a local working copy of the code that is independent of your personal fork.

Cloning Clone the repository (and specifying specify the "upstream repository") with the following commands:

...

Code Block
languagebash
git add <filename or regex><path>

Modify the code all you want and when you are ready to commit to your local copy:

...

If the mistaken change that you made on a separate branch, you can may need to delete the branch from your GitHub.com fork , revert the change locally and then re-push the branchbefore restting with the above command.

If you made the mistaken change to master, then the only option to remove it may be to delete your entire personal fork and re-fork the upstream repo.

WARNING: Make sure to have any outstanding Pull Requests MERGED before deleting your personal fork, or your changes may get be lost.