「Debian活用/その他」の版間の差分
< Debian活用
ナビゲーションに移動
検索に移動
編集の要約なし |
(→初期設定) |
||
36行目: | 36行目: | ||
$ git config --global color.ui = auto |
$ git config --global color.ui = auto |
||
git config --global url.https://example.com/.insteadOf git@example.com: |
|||
insteadOf |
|||
git config --global --add url.https://example.com/.insteadOf ssh://git@example.com/ |
|||
</nowiki> |
</nowiki> |
||
2024年7月10日 (水) 06:54時点における版
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/
状態確認
status show
書き換え
$ 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