GitHub brief - summary process

Posted Jun 16, 20201 min read

1, download the existing code command first

2. Submit local code-

git add read.txt
git commit -m'create a read.txt'
git log
git statue

Upload multiple files

git add --all
git commit -m'add more files'
git push origin master

3. Remote warehouse
Create your own github account

Local and remote association

git remote add origin

Submit locally to a remote server

git pull origin master
  1. Delete local files-and submit
    Otherwise it will cause conflict

    git rm read.txt
    git commit -m'delete a read.txt'
    git push origin master
    git state