「Debian活用/その他」の版間の差分
< Debian活用
ナビゲーションに移動
検索に移動
(→git) |
(→初期設定) |
||
23行目: | 23行目: | ||
<nowiki> |
<nowiki> |
||
$ git config --global color.ui = auto |
|||
insteadOf |
insteadOf |
||
</nowiki> |
</nowiki> |
2024年5月26日 (日) 14:49時点における版
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 config --global color.ui = auto insteadOf
書き換え
$ 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