create and register git template directory
> mkdir -p ~/.git-templates/hooks
> git config --global init.templatedir '~/.git-templates'
add some example pre-push hook
[alias] | |
#https://github.com/seveas/git-spindle | |
##basic | |
treeall = "log --graph --pretty=oneline --decorate --abbrev-commit --all" | |
tree = "log --graph --pretty=oneline --decorate --abbrev-commit" | |
treelong = "log --graph --pretty='%C(yellow)%h %d %Cblue%ad %Cgreen%an %Creset%s ' --date=relative" | |
logall = "log --all --date-order" | |
stat = "diff --stat HEAD" | |
cat = "cat-file -p" |
create and register git template directory
> mkdir -p ~/.git-templates/hooks
> git config --global init.templatedir '~/.git-templates'
add some example pre-push hook
qemu on Debian 9 has some issues showing the curses console when running a Debian 9 guest. To fix this the guest's grub needs to supply some extra parameters to the kernel and disable a module:
/etc/default/grub
and add console=tty0 console=ttyS0
to GRUB_CMDLINE_LINUX
this tells the linux kernel to use tty0 as console
/etc/modprobe.d/bochs_drm.conf
so that its contents is the following line: install bochs_drm /bin/true
" Configuration file for vim | |
" vim:expandtab:foldmethod=marker:foldlevel=0:tw=0 | |
" fix ui language | |
set langmenu=en_US.UTF-8 | |
" Source a global configuration file if available | |
if filereadable("/etc/vim/vimrc.local") |