Githug指南(windows7)

2017-08-10  本文已影响0人  Hannah_huo

1. Githug

Githug元身,https://github.com/Gazler/githug,这个命令行工具被设计来练习Git技能,把平常的使用场景实例化,完成一个一个的关卡,称之为Git游戏。

2. 安装

ruby版本 安装githug

3. 闯关常用命令

4. 关卡说明

githug一共有55关:
1: init
2: config
3: add
4: commit
5: clone
6: clone_to_folder
7: ignore
8: include
9: status
10: number_of_files_committed
11: rm
12: rm_cached
13: stash
14: rename
15: restructure
16: log
17: tag
18: push_tags
19: commit_amend
20: commit_in_future
21: reset
22: reset_soft
23: checkout_file
24: remote
25: remote_url
26: pull
27: remote_add
28: push
29: diff
30: blame
31: branch
32: checkout
33: checkout_tag
34: checkout_tag_over_branch
35: branch_at
36: delete_branch
37: push_branch
38: merge
39: fetch
40: rebase
41: repack
42: cherry-pick
43: grep
44: rename_commit
45: squash
46: merge_squash
47: reorder
48: bisect
49: stage_lines
50: find_old_branch
51: revert
52: restore
53: conflict
54: submodule
55: contribute

5. 开始闯关

首先切换目录到e盘,输入并执行闯关命令githug。
执行之后会询问是创建文件夹,y,之后的操作都在这个文件夹进行。

开始githug
上一篇 下一篇

猜你喜欢

热点阅读