8000 Merge branch 'master' into korean · rplabon/github-cheat-sheet@c05cbe4 · GitHub
[go: up one dir, main page]

Skip to content

Commit c05cbe4

Browse files
committed
Merge branch 'master' into korean
2 parents cbe8a04 + f1825eb commit c05cbe4

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ A collection of cool hidden and not so hidden features of Git and GitHub. This c
2424
- [Task Lists](#task-lists)
2525
- [Relative Links](#relative-links)
2626
- [Metadata and Plugin Support for GitHub Pages](#metadata-and-plugin-support-for-github-pages)
27+
- [Viewing YAML Metadata in your Documents](#viewing-yaml-metadata-in-your-documents)
28+
- [Rendering Tabular Data](#rendering-tabular-data)
2729
- [Diffs](#diffs)
2830
- [Rendered prose Diffs](#rendered-prose-diffs)
2931
- [Diffable Maps](#diffable-maps)
@@ -341,6 +343,20 @@ The Jemoji and jekyll-mentions plugins enable [emoji](#emojis) and [@mentions](h
341343

342344
[*Read more about repository metadata and plugin support for GitHub Pages.*](https://github.com/blog/1797-repository-metadata-and-plugin-support-for-github-pages)
343345

346+
### Viewing YAML Metadata in your Documents
347+
Many blogging websites, like [Jekyll](http://jekyllrb.com/) with [GitHub Pages](http://pages.github.com/), depend on some YAML-formatted metadata at the beginning of your post. GitHub will render this metadata as a horizontal table, for easier reading
348+
349+
![YAML metadata](https://camo.githubusercontent.com/47245aa16728e242f74a9a324ce0d24c0b916075/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f36343035302f313232383236372f65303439643063362d323761302d313165332d396464382d6131636432323539393334342e706e67)
350+
351+
[*Read more about viewing YAML metadata in your documents.*](https://github.com/blog/1647-viewing-yaml-metadata-in-your-documents)
352+
353+
### Rendering Tabular Data
354+
GitHub supports rendering tabular data in the form of `.csv` (comma-separated) and `.tsv` (tab-separated) files.
355+
356+
![Tabular data](https://camo.githubusercontent.com/1b6dd0157ffb45d9939abf14233a0cb13b3b4dfe/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3238323735392f3937363436322f33323038336463652d303638642d313165332d393262322d3566323863313061353035392e706e67)
357+
358+
[*Read more about rendering tabular data.*](https://github.com/blog/1601-see-your-csvs)
359+
344360
### Diffs
345361
#### Rendered Prose Diffs
346362
Commits and pull requests including rendered documents supported by GitHub (e.g. Markdown) feature *source* and *rendered* views.
@@ -641,19 +657,19 @@ To add an alias, either navigate to `~/.gitconfig` and fill it out in the follow
641657
...or type in the command-line:
642658

643659
```bash
644-
$ git config alias.new_alias git_function
660+
$ git config --global alias.new_alias git_function
645661
```
646662

647663
For example:
648664

649665
```bash
650-
$ git config alias.cm commit
666+
$ git config --global alias.cm commit
651667
```
652668

653669
For an alias with multiple functions use quotes:
654670

655671
```bash
656-
$ git config alias.ac 'add -A . && commit'
672+
$ git config --global alias.ac 'add -A . && commit'
657673
```
658674

659675
Some useful aliases include:

0 commit comments

Comments
 (0)
0