Committing and Pushing Changes
Check the Changes
After editing files, the Working Copy shows them listed with status icons. Clicking a file shows its diff side by side, so you review exactly what will be saved.
Stage and Commit
Check the boxes next to files (stage), write a commit message, select "Commit" (or amend for the last commit), then Commit Again. Staging lets you craft focused commits from mixed changes.
Discard Unwanted Changes
Right-click a file in the working copy and choose Discard to drop local edits. This is irreversible, so use it on files you really want to reset.
Push to the Remote
Click Push, choose the branch and target remote, and confirm. Your new local commits now live on the server; other people can pull them.
Amend and Partial Staging
Amend rewrites the last commit message or adds a missing file to it. For tidy history, commit logical units separately rather than one giant commit.
Key Points
- Review diffs, stage the right files, then commit.
- Push publishes local commits to the remote.
- Discard removes uncommitted edits.
- Logical, small commits keep history readable.