git and GitHub beginners

Start

Things to do

1, download git, install git, configure git.
2,

Specific to do

a、
b、
c、

The basic git workflow:

Every step of the practical significance of 1234 and abcd, one by one.

Brief

1, modify a file.
2,3, save changes to git.
4, the remote server will modify push.

Actual operation

1. The operation of your files
2. command: git add filename you operations
3. Command: "commit" git the commit -m
4. command: git push

Every step of significance

a. modify files in the working directory. (Code word, delete, modify .. your own operation.)
B. For the modified file snapshot, then save to the staging area.
c. submit update file will be saved in the staging area to dump a snapshot of permanent git directory. You can write their own commit.
D. pushed to the remote server. (You need to go to set up your git)


More commands

Brief structure git


Reference:
W3Schools programming lion app "Git Manual" wrote a very detailed.

Guess you like

Origin www.cnblogs.com/WeiG/p/12199428.html