Add documenation for git graph

This commit is contained in:
Raghu Rajagopalan 2017-02-21 12:32:19 +05:30
parent fb70b9742a
commit c1478418ae
2 changed files with 30 additions and 0 deletions

View File

@ -78,6 +78,36 @@ classDiagram
<img src='./docs/img/class-diagram.png' alt='Example 3'>
</td>
</tr>
<tr>
<td>
<pre>
<code>
gitGraph :
options
{
"key": "value",
"nodeWidth": 150,
"nodeSpacing" : 150
}
end
commit
branch newbranch
checkout newbranch
commit
commit
checkout master
commit
commit
merge newbranch
</code>
</pre>
</td>
<td>
<img src='./docs/img/gitgraph.mm.png' alt='Example 4'>
</td>
</tr>
</table>
## Further reading

BIN
docs/img/gitgraph.mm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB