Debian活用/その他

提供: Medeshima wiki
< Debian活用
2024年7月10日 (水) 07:00時点におけるHosakino (トーク | 投稿記録)による版 (→‎状態確認)
ナビゲーションに移動 検索に移動
yaskkserv(サーバを1つに)
squid
webDAXSV
LDAP
docker
Clamav
vscode emacs
scp -P XXX -i id_XXX XXX.txt XXX@XXX:
Debian Backports
Debian Fast Track
chroot qemu-arm qemu-user-static debootstrap
xxd vim emacs
SpamAssassin
s/mime
DKIM
voicevox
apparmor
smartmontools
badblocks
fsck
quilt

git

初期設定

$ git config --global user.name "user"
$ git config --global user.email "user@example.com"
$ git config --global pull.rebase false

$ git config --global color.ui = auto

git config --global url.https://example.com/.insteadOf git@example.com:
git config --global --add url.https://example.com/.insteadOf ssh://git@example.com/

branch

git checkout -b test main
git push -u origin test

git commit -m ""

状態確認

status
show

git diff --name-only --cached
git log

書き換え

$ git commit --amend

$ git log --pretty=full

$ git filter-branch -f --env-filter '
  if [ "$GIT_COMMITTER_EMAIL" = "user1@example.com" ];
    then
      GIT_COMMITER_NAME="user2";
      GIT_AUTHOR_NAME="user2";
      GIT_COMMITER_EMAIL="user2@example.com";
      GIT_AUTHOR_EMAil="user2@example.com";
  fi'
$ git push -f