「Debian活用/その他」の版間の差分

提供: Medeshima wiki
ナビゲーションに移動 検索に移動
38行目: 38行目:
GIT_COMMITER_EMAIL="user2@example.com";
GIT_COMMITER_EMAIL="user2@example.com";
GIT_AUTHOR_EMAil="user2@example.com";
GIT_AUTHOR_EMAil="user2@example.com";
fi' HEAD
fi'
$ git push -f
$ git push -f
</nowiki>
</nowiki>

2024年5月22日 (水) 05:51時点における版

squid
webDAXSV
LDAP
docker
Clamav
fetchmail
vscode emacs
scp -P XXX -i id_XXX XXX.txt XXX@XXX:
Debian Backports
Debian Fast Track

git

初期設定

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

書き換え

$ 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