- create a new branch
git checkout -b <new branch name>
- list all branches
git branch -a
git checkout -b <new branch name>
git branch -a
type: 0
type: $
#-----------------------------------------------------------------------------# | |
# some common configurations for ~/.bashrc file | |
#-----------------------------------------------------------------------------# | |
#-----------------------------------------------------------------------------# | |
# some more ls aliases | |
#-----------------------------------------------------------------------------# | |
alias ll='ls -alF' | |
alias la='ls -A' | |
alias l='ls -CF' |
" use vim features | |
set nocompatible | |
"enable language-dependent indenting. | |
filetype plugin indent on | |
"confirm for saving file and readonly files | |
set confirm | |
set autowrite |