Git Notes
Collection of commands that are useful when using git, but I always seem to forget.
Update Branch
Update your branch appending your (not yet merged) commits on top of the changes.
| |
Remove Remote Branch
First remove the branch locally, then remotely.
| |
List commits added in different branch
List all commits in other_branch not in the master branch.
| |
Also show the actual changes.
| |
Last Commit
Last commit.
| |
Only the commit hash.
| |
Cleaup
Reduce disk space by packing objects.
| |