I installed the GitFlow plugin and got 3 options to commit.
Commit Staged.
Commit Staged and Push
Commit Staged and Sync
What's the difference between them? When should I use them?
Locally commit changes that are in the stage area.
It is equivalent to
$> git commit -m "mensagem de commit"
Locally commit the changes that are in the stage area and then send the commits to the remote repository.
It is equivalent to
$> git commit -m "mensagem de commit" $> git push
Locally commit changes that are in the stage area, pull of existing modifications in the remote repository, and send commits to the remote repository. So the name " sync ", at the end of the operation, your local repository must be fully synchronized with the remote.
It is equivalent to
$> git commit -m "mensagem de commit" $> git pull $> git push