Github quick start


Quick setup

Get started by creating a new file or uploading an existing file. We recommend every repository include a README, LICENSE, and .gitignore.

  1. or create a new repository on the command line

echo "# ve3_scrapy" >>
git init
git add
git commit -m "first commit"
git remote add origin
git push -u origin master
  1. push an existing repository from the command line

cd existing_repo
git remote rename origin old-origin
git remote add origin
git push -u origin master
git push -u origin --all
git push -u origin --tags

How to protect your private email

  1. Go to email setting page

  2. Choose to: Keep my email address private, and you will see your noreply email address here , like

  3. Unchoose: Block command line pushes that expose my email

  4. Set your email in git clinet:

    git config --global "[email protected]"