$ git status $ git add text.txt $ git status $ git commit -m "text" $ git status $ git log
next to rename the “https://…….” as origin
1 2 3
$ git remote add origin https://.........(do this only the first time) $ git push -u origin master(the first time) $ git push -u origin(do this the next time)
do clone
1
$ git clone https://....... tutorial2(a new directory)
do pull file in your date-base
1 2
$ git pull origin master $ git log
finally do another setting to make it better,but I meet a problem. So I stop it temporarily,continue it if I have time.