It is recommended that you use Source Tree to have a clear view of the entire distributed process of Git, and at the same time, it can also solve the questioner's requirements in this question.
The agile development tools produced by Atlassian are extremely easy to use, and Source Tree is one of its masterpieces.
As long as you submit the commit, when you push, it will naturally be pushed to the remote.
The only thing to distinguish is whether it has been pushed or not
> git status
On branch refactor
Your branch is ahead of 'origin/refactor' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working directory clean
"Which files have not been submitted to the remote push" - git status explains which files have not been submitted. To see which commits do not exist on the remote, you can try this command to see which commits are on which branches (but not on other branches):
It is recommended that you use Source Tree to have a clear view of the entire distributed process of Git, and at the same time, it can also solve the questioner's requirements in this question.
The agile development tools produced by Atlassian are extremely easy to use, and Source Tree is one of its masterpieces.
As long as you submit the commit, when you push, it will naturally be pushed to the remote.
The only thing to distinguish is whether it has been pushed or not
Isn’t it in git status:
"Which files have not been submitted to the remote push" - git status explains which files have not been submitted. To see which commits do not exist on the remote, you can try this command to see which commits are on which branches (but not on other branches):
git status View current file status