I like documenting minor changes as separate commits and finally use git interactive --rebase
to combine commits and change commit messages like I deem appropriate.
Is there a way to determine which commits I haven't pushed yet without manually checking Github i.e. is there a way to find out from the shell?
If you do a git log origin/master..HEAD
, it should show you all the commits that have not been pushed (assuming you are on master, of course).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With