Install and configure git software

Setting environment

git config --global user.name "username"
git config --global user.email "email"


cat >>/etc/profile.d/aliases.sh <<EOF
# Added by sakura
alias hexoall='hexo g && hexo d && hexo clean'
# End of add
EOF

Setting rsync

Downloading the rsync and libxxhash on repo.msys2.org.

/mnt/e/Downloads/libxxhash-0.8.2-1-x86_64.pkg.tar.zst
/mnt/e/Downloads/rsync-3.2.7-2-x86_64.pkg.tar.zst

Extract the zst file.

Copy the extdir\usr\bin\* to git bin directory D:\Program Files\Git\usr\bin\.

Verify the rsync working. rsync -v