This file contains hidden or 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
| #!/bin/bash | |
| # mainからのコミットを全て1つにまとめる | |
| set -euo pipefail | |
| BASE_COMMIT=${1:-$(git merge-base main HEAD)} | |
| echo "Base commit: $BASE_COMMIT" | |
| echo "Fixup commits (2nd and later):" | |
| git log --oneline "$BASE_COMMIT"..HEAD | tail -n +2 |
This file contains hidden or 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
| " golangのファイルのみ、tabを空白4つに設定 | |
| autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4 | |
| set runtimepath^=~/.vim/bundle/ctrlp.vim | |
| set autowrite | |
| set number " 行番号 | |
| set cursorline " 現在の行を強調 | |
| set showmatch " 括弧入力時の対応する括弧を表示 | |
| set wildmode=list:longest " コマンドラインの保管 | |
| set hlsearch " 検索結果をハイライトする |