Git - Push
Table of Contents
Git push
git push |
To push the commits to an upsteam remote branch |
See all Unpushed commits or commits that are not in another branch.
git cherry -v |
If you need to find out which of your local commits are not on the remote server do this. The -v option prints out the commit messages. Without it you will see only the SHA1 codes. |
---|---|
git cherry -v origin/somebranch |
You may also compare against another (upstream) branch like that. This tool is especially useful when you have a ton of commits after a merge and want to know the commit differences between branches |
git show (COMMIT_HASH) |
Once you have the list from the command above, use this to see the files that changed in each commit |