Skip to content

Commit 6c177cd

Browse files
committed
compile
1 parent a496a21 commit 6c177cd

File tree

2 files changed

+236
-3
lines changed

2 files changed

+236
-3
lines changed

github-roam.md

Lines changed: 127 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1887,7 +1887,7 @@ WTF!
18871887
Release
18881888
---
18891889

1890-
Git 工具推荐
1890+
Git 与 GitHub 工具推荐
18911891
===
18921892

18931893
至于我的日常用的 Git 观看工具,一个是 WebStorm 和 Intellij IDEA 自带的,一个则是 SourceTree。
@@ -1896,6 +1896,132 @@ Git 工具推荐
18961896

18971897
而 SourceTree 则方便用来查看一些非我写的项目,寻找其中的一些问题。个中缘由便是:**Intelli IDEA 刚打开某个项目的时候,需要花费大量的时间 index**,只可惜现有的 SourceTree 客户端都需要登录 Atlassian 账户了。
18981898

1899+
Git 命令行增强
1900+
---
1901+
1902+
### [diff-so-fancy](https://github.com/so-fancy/diff-so-fancy)
1903+
1904+
![diff so fancy 截图](git-diff-screenshot.png)
1905+
1906+
### [git-extras](https://github.com/tj/git-extras)
1907+
1908+
**Ubuntu**
1909+
1910+
```
1911+
$ sudo apt-get install git-extras
1912+
```
1913+
1914+
**Mac OS X with Homebrew**
1915+
1916+
```
1917+
$ brew install git-extras
1918+
```
1919+
1920+
```
1921+
$ git-summary
1922+
1923+
1924+
project : github-roam
1925+
repo age : 2 years, 7 months
1926+
active : 40 days
1927+
commits : 124
1928+
files : 101
1929+
authors :
1930+
72 Fengda HUANG 58.1%
1931+
29 Fengda Huang 23.4%
1932+
8 Phodal HUANG 6.5%
1933+
3 Phodal Huang 2.4%
1934+
2 yangpei3720 1.6%
1935+
2 WangXiaolong 1.6%
1936+
2 TZS 1.6%
1937+
1 安正超 0.8%
1938+
1 Li 0.8%
1939+
1 Qiuer 0.8%
1940+
1 SCaffrey 0.8%
1941+
1 oncealong 0.8%
1942+
1 zminds 0.8%
1943+
```
1944+
1945+
Intellij IDEA
1946+
---
1947+
1948+
Intellij IDEA
1949+
1950+
Git、GitHub桌面增强
1951+
---
1952+
1953+
### SourceTree
1954+
1955+
gitflow 分支合并、查看
1956+
1957+
![SourceTree 截图](sourcetree.jpg)
1958+
1959+
### GitHub Desktop
1960+
1961+
![GitHub Desktop](github-desktop.jpg)
1962+
1963+
Git 娱乐
1964+
---
1965+
1966+
### githug
1967+
1968+
```
1969+
$ githug
1970+
1971+
********************************************************************************
1972+
* Githug *
1973+
********************************************************************************
1974+
No githug directory found, do you wish to create one? [yn] y
1975+
Welcome to Githug!
1976+
1977+
Name: init
1978+
Level: 1
1979+
Difficulty: *
1980+
1981+
A new directory, `git_hug`, has been created; initialize an empty repository in it.
1982+
```
1983+
1984+
1985+
```
1986+
$ githug play
1987+
1988+
********************************************************************************
1989+
* Githug *
1990+
********************************************************************************
1991+
Congratulations, you have solved the level!
1992+
1993+
Name: config
1994+
Level: 2
1995+
Difficulty: *
1996+
1997+
Set up your git name and email, this is important so that your commits can be identified.
1998+
```
1999+
2000+
```
2001+
#1: init
2002+
#2: config
2003+
#3: add
2004+
#4: commit
2005+
#5: clone
2006+
#6: clone_to_folder
2007+
#7: ignore
2008+
#8: include
2009+
#9: status
2010+
#10: number_of_files_committed
2011+
#11: rm
2012+
#12: rm_cached
2013+
#13: stash
2014+
#14: rename
2015+
#15: restructure
2016+
#16: log
2017+
#17: tag
2018+
#...
2019+
```
2020+
2021+
### Gource
2022+
2023+
![Gource 历史](gource.jpg)
2024+
18992025
# GitHub用户分析
19002026

19012027
## 生成图表

index.html

Lines changed: 109 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,21 @@ <h1>GitHub 漫游指南</h1>
169169
<li><a href="#开源项目维护">开源项目维护</a><ul>
170170
<li><a href="#release">Release</a></li>
171171
</ul></li>
172-
<li><a href="#git-工具推荐">Git 工具推荐</a></li>
172+
<li><a href="#git-与-github-工具推荐">Git 与 GitHub 工具推荐</a><ul>
173+
<li><a href="#git-命令行增强">Git 命令行增强</a><ul>
174+
<li><a href="#diff-so-fancy"><a href="https://github.com/so-fancy/diff-so-fancy">diff-so-fancy</a></a></li>
175+
<li><a href="#git-extras"><a href="https://github.com/tj/git-extras">git-extras</a></a></li>
176+
</ul></li>
177+
<li><a href="#intellij-idea">Intellij IDEA</a></li>
178+
<li><a href="#gitgithub桌面增强">Git、GitHub桌面增强</a><ul>
179+
<li><a href="#sourcetree">SourceTree</a></li>
180+
<li><a href="#github-desktop">GitHub Desktop</a></li>
181+
</ul></li>
182+
<li><a href="#git-娱乐">Git 娱乐</a><ul>
183+
<li><a href="#githug">githug</a></li>
184+
<li><a href="#gource">Gource</a></li>
185+
</ul></li>
186+
</ul></li>
173187
<li><a href="#github用户分析">GitHub用户分析</a><ul>
174188
<li><a href="#生成图表">生成图表</a><ul>
175189
<li><a href="#数据解析">数据解析</a></li>
@@ -1790,10 +1804,103 @@ <h2 id="鼓励吸引贡献者">鼓励、吸引贡献者</h2>
17901804
<p>哪怕只是一个错误字的 PR,那么你也可以 merge,啊哈哈~。然后,就有人帮你宣传了,『我给 xxx 项目一个 PR 了』。刚毕业的时候,我也是从这种类型的 PR 做起的~~。</p>
17911805
<h1 id="开源项目维护">开源项目维护</h1>
17921806
<h2 id="release">Release</h2>
1793-
<h1 id="git-工具推荐">Git 工具推荐</h1>
1807+
<h1 id="git-与-github-工具推荐">Git 与 GitHub 工具推荐</h1>
17941808
<p>至于我的日常用的 Git 观看工具,一个是 WebStorm 和 Intellij IDEA 自带的,一个则是 SourceTree。</p>
17951809
<p>由于日常用的开发工是 Intellij IDEA 企业版,所以就有点依赖于这个工具了。最常用的功能便是:<strong>修复 Bug 时,对于文件修改的追溯</strong>。了解某行代码修改的原因,对应的修改人等等。</p>
17961810
<p>而 SourceTree 则方便用来查看一些非我写的项目,寻找其中的一些问题。个中缘由便是:<strong>Intelli IDEA 刚打开某个项目的时候,需要花费大量的时间 index</strong>,只可惜现有的 SourceTree 客户端都需要登录 Atlassian 账户了。</p>
1811+
<h2 id="git-命令行增强">Git 命令行增强</h2>
1812+
<h3 id="diff-so-fancy"><a href="https://github.com/so-fancy/diff-so-fancy">diff-so-fancy</a></h3>
1813+
<figure>
1814+
<img src="git-diff-screenshot.png" alt="diff so fancy 截图" /><figcaption>diff so fancy 截图</figcaption>
1815+
</figure>
1816+
<h3 id="git-extras"><a href="https://github.com/tj/git-extras">git-extras</a></h3>
1817+
<p><strong>Ubuntu</strong></p>
1818+
<pre><code>$ sudo apt-get install git-extras</code></pre>
1819+
<p><strong>Mac OS X with Homebrew</strong></p>
1820+
<pre><code>$ brew install git-extras</code></pre>
1821+
<pre><code>$ git-summary
1822+
1823+
1824+
project : github-roam
1825+
repo age : 2 years, 7 months
1826+
active : 40 days
1827+
commits : 124
1828+
files : 101
1829+
authors :
1830+
72 Fengda HUANG 58.1%
1831+
29 Fengda Huang 23.4%
1832+
8 Phodal HUANG 6.5%
1833+
3 Phodal Huang 2.4%
1834+
2 yangpei3720 1.6%
1835+
2 WangXiaolong 1.6%
1836+
2 TZS 1.6%
1837+
1 安正超 0.8%
1838+
1 Li 0.8%
1839+
1 Qiuer 0.8%
1840+
1 SCaffrey 0.8%
1841+
1 oncealong 0.8%
1842+
1 zminds 0.8%</code></pre>
1843+
<h2 id="intellij-idea">Intellij IDEA</h2>
1844+
<p>Intellij IDEA</p>
1845+
<h2 id="gitgithub桌面增强">Git、GitHub桌面增强</h2>
1846+
<h3 id="sourcetree">SourceTree</h3>
1847+
<p>gitflow 分支合并、查看</p>
1848+
<figure>
1849+
<img src="sourcetree.jpg" alt="SourceTree 截图" /><figcaption>SourceTree 截图</figcaption>
1850+
</figure>
1851+
<h3 id="github-desktop">GitHub Desktop</h3>
1852+
<figure>
1853+
<img src="github-desktop.jpg" alt="GitHub Desktop" /><figcaption>GitHub Desktop</figcaption>
1854+
</figure>
1855+
<h2 id="git-娱乐">Git 娱乐</h2>
1856+
<h3 id="githug">githug</h3>
1857+
<pre><code>$ githug
1858+
1859+
********************************************************************************
1860+
* Githug *
1861+
********************************************************************************
1862+
No githug directory found, do you wish to create one? [yn] y
1863+
Welcome to Githug!
1864+
1865+
Name: init
1866+
Level: 1
1867+
Difficulty: *
1868+
1869+
A new directory, `git_hug`, has been created; initialize an empty repository in it.</code></pre>
1870+
<pre><code>$ githug play
1871+
1872+
********************************************************************************
1873+
* Githug *
1874+
********************************************************************************
1875+
Congratulations, you have solved the level!
1876+
1877+
Name: config
1878+
Level: 2
1879+
Difficulty: *
1880+
1881+
Set up your git name and email, this is important so that your commits can be identified.</code></pre>
1882+
<pre><code>#1: init
1883+
#2: config
1884+
#3: add
1885+
#4: commit
1886+
#5: clone
1887+
#6: clone_to_folder
1888+
#7: ignore
1889+
#8: include
1890+
#9: status
1891+
#10: number_of_files_committed
1892+
#11: rm
1893+
#12: rm_cached
1894+
#13: stash
1895+
#14: rename
1896+
#15: restructure
1897+
#16: log
1898+
#17: tag
1899+
#...</code></pre>
1900+
<h3 id="gource">Gource</h3>
1901+
<figure>
1902+
<img src="gource.jpg" alt="Gource 历史" /><figcaption>Gource 历史</figcaption>
1903+
</figure>
17971904
<h1 id="github用户分析">GitHub用户分析</h1>
17981905
<h2 id="生成图表">生成图表</h2>
17991906
<p>如何分析用户的数据是一个有趣的问题,特别是当我们有大量的数据的时候。除了<code>matlab</code>,我们还可以用<code>numpy</code>+<code>matplotlib</code></p>

0 commit comments

Comments
 (0)