[go: up one dir, main page]

Skip to main content

Managing commits

You can use GitHub Desktop to amend, cherry-pick, reorder, revert, reset, and squash commits.

Options for managing commits in GitHub Desktop

You can use GitHub Desktop to maintain an easy-to-follow commit history.

Undoing a commit in GitHub Desktop

You can undo a commit before you have pushed it to the remote branch.

Resetting to a commit in GitHub Desktop

You can reset to any commit up to the one that was last pushed to the remote branch.

Amending a commit in GitHub Desktop

You can use GitHub Desktop to amend your last commit.

Reverting a commit in GitHub Desktop

You can use GitHub Desktop to revert a specific commit to remove its changes from your branch.

Cherry-picking a commit in GitHub Desktop

You can use GitHub Desktop to pick a specific commit on one branch and copy the commit to another branch.

Reordering commits in GitHub Desktop

You can use GitHub Desktop to reorder commits in your branch's history.

Squashing commits in GitHub Desktop

You can use GitHub Desktop to squash commits in your branch's history.

Managing tags in GitHub Desktop

You can use GitHub Desktop to create, push, and view tags.

Checking out a commit in GitHub Desktop

You can use GitHub Desktop to checkout a previous commit in your repository.