Commit, Push, and Pull a repository on SourceTree

Still need help?

The Atlassian Community is here for you.

Ask the community


Understand how to run basic Git operations like commit, push, and pull in SourceTree.


On this page:

Commit files

  1. Click Commit in the toolbar.
  2. Select the files to commit in the Pending files panel.
  3. Enter a commit message.
  4. Click Commit at the bottom of the window.

To remove a file from staging, clear the checkbox next to the staged file.

Push changes from a local repository to a remote repository

  1. Click Push in the toolbar.
  2. Select the local branch to push and the remote branch to push to.
  3. Click OK.

Pull changes from a remote repository

  1. Click the Pull button in the toolbar.
  2. Select the remote repository to pull from.
  3. Select the remote branch to pull changes from.
  4. Click OK.

Last modified on Mar 11, 2020

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.