mirror of
https://github.com/namibia/tips.git
synced 2024-11-05 21:07:53 +00:00
dashified title to fix TOC.
This commit is contained in:
parent
acd8501b5f
commit
2bf7f0ea91
@ -3,7 +3,7 @@ var tips = require('./tips.json');
|
||||
var render = function(data) {
|
||||
var data = data.data;
|
||||
|
||||
var out = '* [' + data.title + '](https://github.com/git-tips/tips#' + data.title + ')\n';
|
||||
var out = '* [' + data.title + '](https://github.com/git-tips/tips#' + data.title.split(' ').join('-') + ')\n';
|
||||
|
||||
if (tips[tips.length -1].title === data.title) out = out + '\n';
|
||||
return out;
|
||||
|
22
README.md
22
README.md
@ -3,17 +3,17 @@
|
||||
|
||||
<!-- @doxie.inject start toc -->
|
||||
<!-- Don’t remove or change the comment above – that can break automatic updates. -->
|
||||
* [Overwrite pull](https://github.com/git-tips/tips#Overwrite pull)
|
||||
* [List of all the files changed in a commit](https://github.com/git-tips/tips#List of all the files changed in a commit)
|
||||
* [Git reset first commit](https://github.com/git-tips/tips#Git reset first commit)
|
||||
* [List all the conflicted files](https://github.com/git-tips/tips#List all the conflicted files)
|
||||
* [List all branches that are already merged into master](https://github.com/git-tips/tips#List all branches that are already merged into master)
|
||||
* [Quickly switch to the previous branch](https://github.com/git-tips/tips#Quickly switch to the previous branch)
|
||||
* [Remove branches that have already been merged with master](https://github.com/git-tips/tips#Remove branches that have already been merged with master)
|
||||
* [List all branches and their upstreams, as well as last commit on branch](https://github.com/git-tips/tips#List all branches and their upstreams, as well as last commit on branch)
|
||||
* [Track upstream branch](https://github.com/git-tips/tips#Track upstream branch)
|
||||
* [Delete local branch](https://github.com/git-tips/tips#Delete local branch)
|
||||
* [Delete remote branch](https://github.com/git-tips/tips#Delete remote branch)
|
||||
* [Overwrite pull](https://github.com/git-tips/tips#Overwrite-pull)
|
||||
* [List of all the files changed in a commit](https://github.com/git-tips/tips#List-of-all-the-files-changed-in-a-commit)
|
||||
* [Git reset first commit](https://github.com/git-tips/tips#Git-reset-first-commit)
|
||||
* [List all the conflicted files](https://github.com/git-tips/tips#List-all-the-conflicted-files)
|
||||
* [List all branches that are already merged into master](https://github.com/git-tips/tips#List-all-branches-that-are-already-merged-into-master)
|
||||
* [Quickly switch to the previous branch](https://github.com/git-tips/tips#Quickly-switch-to-the-previous-branch)
|
||||
* [Remove branches that have already been merged with master](https://github.com/git-tips/tips#Remove-branches-that-have-already-been-merged-with-master)
|
||||
* [List all branches and their upstreams, as well as last commit on branch](https://github.com/git-tips/tips#List-all-branches-and-their-upstreams,-as-well-as-last-commit-on-branch)
|
||||
* [Track upstream branch](https://github.com/git-tips/tips#Track-upstream-branch)
|
||||
* [Delete local branch](https://github.com/git-tips/tips#Delete-local-branch)
|
||||
* [Delete remote branch](https://github.com/git-tips/tips#Delete-remote-branch)
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end toc -->
|
||||
|
Loading…
Reference in New Issue
Block a user