Get Started. It's Free
or sign up with your email address
git by Mind Map: git

1. tag

1.1. -l

1.1.1. 'v1.4.2.*'

1.2. show

1.2.1. [v1.0.1]

1.3. -a

1.3.1. [v1.4]

1.3.1.1. -m

1.3.1.1.1. "my version v1.4"

1.3.1.2. [9cfeb02]

1.4. [v1.2]

2. fetch

2.1. [remote-name]

3. init

4. config

4.1. --global

4.1.1. user.name "Jia Tian" user.email "[email protected]"

4.1.2. core.editor vim

4.2. --list

5. add

5.1. *.js

5.2. README

5.3. dir/

6. commit

6.1. -m

6.1.1. 'commit message'

6.2. -v

6.3. -a

6.4. --amend

7. clone

7.1. https: //github.com/limingth/maodou.io.git

7.2. [email protected]:limingth/maodou.io.git

7.3. --bare

7.3.1. URL

7.3.1.1. code_dir

8. .gitignore

8.1. *.[oa]

8.2. *~

9. diff

9.1. --cached

9.2. --staged

10. rm

10.1. --cached

11. mv

12. log

12.1. -p

12.2. -#

12.3. -U#

12.4. --pretty=

12.4.1. oneline

12.4.2. short

12.4.3. full

12.4.4. fuller

12.4.5. format:

12.4.5.1. "%h - %an"

12.5. --graph

13. reset

13.1. HEAD

13.1.1. <file_name>

14. checkout

14.1. --

14.1.1. <file_name>

14.2. [branch-name]

14.3. -b

14.3.1. [branch-name]

14.3.1.1. [remote]/[branch]

14.4. --track

14.4.1. [remote]/[branch]

15. remote

15.1. -v

15.2. add

15.2.1. [shortname]

15.2.1.1. [url]

15.3. show

15.3.1. [remote-name]

15.4. rename

15.4.1. [old-shortname]

15.4.1.1. [new-shortname]

15.5. rm

15.5.1. [remote-name]

16. push

16.1. [remote-name]

16.1.1. [branch-name]

16.1.2. [tag-name]

16.1.3. --tags

16.1.4. [branch-name]:[branch-name]

16.1.5. :[branch-name]

17. branch

17.1. [branch-name]

17.2. -d

17.2.1. [branch-name]

17.3. -v

17.4. --merged

17.5. --no-merged

17.6. -D