This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ === HEAD | |
.git/ORIG_HEAD - save the last commit hash after merge | |
git branch BRANCH_NAME - create new branch | |
git branch BRANCH_NAME [COMMIT_HASH || EXIST_BRANCH] - create branch on commit with COMMIT_HASH or on exist branch | |
git branch -d BRANCH_NAME - delete branch | |
git branch -D BRANCH_NAME - delte branch(force) | |
git branch BRANCH_NAME COMMIT_HAST - reset deleted branch | |
git checkout COMMIT_HASH || BRANCH_NAME - checkout to this commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.vim/plugged') | |
Plug 'scrooloose/nerdtree', {'on' : 'NERDTreeToogle'} | |
"colorscheme" | |
Plug 'morhetz/gruvbox' | |
call plug#end() | |
syntax on | |
colorscheme gruvbox |