Git
VCSの1つ.これ以外をあまり聞かないくらいには,広く使われている.
code:gitconfig
user
name= i544c
email= user@example.com
signkey = KEYID # GPGでsignするため
commit
gpgsign = true # 常にGPGでsignする
core
quotepath = false # 日本語を含むファイル名を正しく表示する
Linux で最新の Git を使う
標準の apt リポジトリに入っている Git のバージョンは低い(例: Ubuntu – noble の git パッケージに関する詳細)
PPA 下に公式で stable のものがあるらしいので、それを使う。
Git - Install for Linux
code:install-latest-git.sh
add-apt-repository ppa:git-core/ppa
apt update
apt install git
Shift_JISなファイルを正しく管理する
code:.gitattributes
*.ext text working-tree-encoding=Shift_JIS