Github quick start#
df
Quick setup#
Get started by creating a new file or uploading an existing file. We recommend every repository include a README, LICENSE, and .gitignore.
or create a new repository on the command line
echo "# ve3_scrapy" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/yupengyan/ve3_scrapy.git
git push -u origin master
push an existing repository from the command line
cd existing_repo
git remote rename origin old-origin
git remote add origin https://github.com/yupengyan/ve3_scrapy.git
git push -u origin master
or
git push -u origin --all
or
git push -u origin --tags
How to protect your private email#
Go to email setting page
Choose to: Keep my email address private, and you will see your noreply email address here , like ID+username@users.noreply.github.com
Unchoose: Block command line pushes that expose my email
Set your email in git clinet:
git config --global user.email "[email protected]"
Reference#
https://github.blog/2017-04-11-private-emails-now-more-private
https://help.github.com/en/articles/about-commit-email-addresses