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

提供: Medeshima wiki
ナビゲーションに移動 検索に移動
13行目: 13行目:


== git ==
== git ==

=== 初期設定 ===


<nowiki>
<nowiki>
19行目: 21行目:
$ git config --global pull.rebase false
$ git config --global pull.rebase false
</nowiki>
</nowiki>

=== 書き換え ===


<nowiki>
<nowiki>

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

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' HEAD
$ git push -f