git basic operations

1. First need to re-initialize the local repository, as shown:

2. Add the file, add all the default:

3. Submit to the cache:

4. Add to the remote repository:

5. Push

6. Note: sometimes an error occurs below Push

Solution:

May be combined by the command code Note: pull = fetch + merge]

git pull --rebase origin master

Guess you like

Origin www.cnblogs.com/lixiaoting/p/11113867.html
Recommended