Versions Compared

Key

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

...

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.

...