I would like to be able to see the last changes in a git repository from within a console.
Is it possible to get a GUI-like output in colour, side-by-side and only the last 10 commits?
maybe this somehow works on debian too: http://heipei.net/2009/01/29/git-full-length-side-by-side-diffs/
'git difftool' allows you to do this.
You can also use your favorite difftool by doing 'git difftool --tool=vimdiff --no-prompt'
And you can compare revisions like other diff comands
'git difftool HEAD~10 HEAD'
我衷心推荐tig用于基于文本的 git UI。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.