# アノテーションなしでタグ作成
$ git tag v1.0.0
# アノテーション付きでタグ作成
$ git tag -a v1.0.0 -m "message"
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
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| func main() { | |
| location := time.FixedZone("JST", 9*60*60) | |
| now := time.Now() |
以下の設定を行う
$env:GIT_PAGER="LESSCHARSET=utf-8 less"参考
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
| package main | |
| import ( | |
| "flag" | |
| "io/ioutil" | |
| "log" | |
| "os" | |
| "path/filepath" | |
| "strings" | |
| ) |
$ du --total --summarize --human-readable .
1.6M .
1.6M 合計or
$ du -c -s -h .$ nkf -Se -Lu --in-place /path/to/fileTERM環境変数をcygwinにすればちゃんと表示できる
$ TERM=cygwin lv /path/to/filealias 設定しておいたらいい感じ
alias lv='TERM=cygwin lv'$ cocot -t UTF-8 -p EUC-JP -- ssh xxx@xxxx