Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added useful reference and corrected spelling mistakes

...

Committing Changes

Comits Commits should, as much as possible, contain changes that relate to a specific feature or ticket. This is to allow them to be reversed later if needed.

...

No Format
git commit -m "RR-123 I changed function val_banana to add a check for apples"

Moving

...

Committed (but not Pushed) Changes to another branch

This is useful when you try to Push changes to Services to Master and it gets rejected with a message that you need to do this via a pull request.

...

See https://stackoverflow.com/questions/5066041/moving-committed-but-not-pushed-changes-to-a-new-branch-after-pull


Useful reference Articles/Sites

Dangit, Git!?! How to sort errors when committing