前回のコミットでコミットし忘れていた変更を別のコミットで行ったのだけど、最後のコミットの内容を前回のコミットに含めたい。
$ git reset HEAD^
$ git add <対象のファイル> # コミットし忘れていた変更
$ git commit --amend
# test | |
これは github の android app から投稿しました。 |
# ls colors | |
export LSCOLORS=ExFxxxxxBxxxxxxxxxxxxx | |
alias ls="ls -GF" | |
# completion with colors | |
zstyle ':completion:*' list-colors 'di=01;34:ln=01;35:ex=01;31' |
# ls settings | |
alias ls="ls -F --color" | |
# completion with colors | |
zstyle ':completion:*' list-colors 'di=01;34' |
#!/usr/bin/awk | |
# Print current monitor resolution on WIDTHxHEIGHT style from xrandr | |
BEGIN { | |
FS = "," | |
} | |
{ | |
for (i = 1; i <= NF; i++) { | |
# find current monitor resolution | |
if ($i ~ /^ current/) { | |
str_current = $i |
snippet class | |
abbr class ... end | |
class ${1:#:ClassName} | |
${2:TARGET} | |
end | |
snippet defini | |
abbr def initialize(param) ... end | |
def initialize(${1:#:param}) | |
${2:TARGET} |
前回のコミットでコミットし忘れていた変更を別のコミットで行ったのだけど、最後のコミットの内容を前回のコミットに含めたい。
$ git reset HEAD^
$ git add <対象のファイル> # コミットし忘れていた変更
$ git commit --amend
split-window -h | |
new-window 'vi' | |
new-window 'tig' | |
new-window; split-window -h | |
new-window | |
select-window -t 0; select-pane -t 0 |
autocmd
などを再確認app.js
で設定など行うrequire
でファイル読み込むsplit-window -v | |
new-window; split-window -v -l 20 | |
new-window 'tig' | |
new-window; split-window -v | |
new-window | |
select-window -t 0; select-pane -t 0 |