ssh-keygen -t rsa -C "ywmu@live.com"
push Enter to generare id_rsa and id_rsa.pub in ~/.ssh/. To copy the content of id_rsa.pub to GitHub: Edit Profile->SSH and GPG keys->New SSH key.
mkdir -p /drives/e/Softs/DoNotSync/Git/MuScripts
cd /drives/e/Softs/DoNotSync/Git/MuScripts
echo " gg" >> README.md
git init
git config --global user.name "gitname"
git config --global user.email "mymail"
git add README.md
git commit -m "first commit"
git remote add MuScripts git@github.com:gitname/MuScripts.git
git push -u MuScripts master for the first time
git add README.md
git push [MuScripts master]
.......
git pull [MuScripts master]
to refresh.
mkdir -p /drives/e/Softs/DoNotSync/Git/MuScripts
cd /drives/e/Softs/DoNotSync/Git/MuScripts
git init
git config --global user.name "gitname"
git config --global user.email "mymail"
git remote add MuScripts git@github.com:gitname/MuScripts.git
git fetch --all
git reset --hard MuScripts/master
git pull -u MuScripts master for the first time
mkdir /drives/e/Softs/DoNotSync/Git/MyAHK/
cd /drives/e/Softs/DoNotSync/Git/MyAHK/
git init
echo " gg" >> README.md
git add README.md
git commit -m "first commit"
git remote add ahk git@github.com:gitname/MyAHK.git
git push -u ahk master
git add *
git commit -m 'revise 2'
git push