Git Login to ZSH terminal

I remember in a Git video that the user terminal (possibly ZSH) was split into two; one for standard terminal commands, and below - something like a graphical representation of the Git log. It has always been seen at the bottom of the terminal with beautiful colors.

terminal screen.

How can I split the terminal screen into two and display the Git log (something like git log --pretty=format:'%h : %s' --graph) on the terminal screen?

UPDATE: I found a video on Vimeo, http://vimeo.com/16018419 . I am trying to do the same setup on my ZSH terminal.

+5
source share
3 answers

with tmux, you can split the panel zsh -c while :; do sleep 60; git log ...; done, and this should provide automatic updates to the git logs in the panel.

[-vh] [percent] , vert horiz . iirc, / , .

: git $EDITOR ( ) . .

EDIT: tmux tmux builtin respawn-pane. ,

bind-key -n M-r respawn-pane -t git: 0.1 []

3 . -, tmux ( git, rename-session tmux new-session -s name). -, git ( ) 0 ( , , , base-index else), 1.

"git", alt-r. , , . , .

[] . tmux respawn-pane , , . while. split-pane [-hv] [percent] "git log ...", , . , respawn-pane , .

, split-pane , tmux default-command.

, , , .

+6

git log --oneline --graph --decorate --color=always git.

.

+2

,

iTerm Mac, , . ubuntu/linux. gnome-terminal, tmux .

tig (http://jonas.nitro.dk/tig/): git. . , , "" .;)

watch git log --graph

tmux :

Using tmux with some applications

+1

All Articles