Get along with git

After you have created several commits, or if you have cloned a repository with an existing commit history, you’ll probably want to look back to see what has happened. The most basic and powerful tool to do this is the git log command but what if you wanted to see just your COMMIT and with the latest on the TOP.#!/bin/bash

#> git log –reverse “$@” @{u}..

In Git, there are two main ways to integrate changes from one branch into another: the merge and the rebase but what if you want to hide your history or fix the trail and error commits. Here is a cheesy script that you can put into a file.