1
0
mirror of https://github.com/namibia/tips.git synced 2024-12-23 02:28:58 +00:00

dashified title to fix TOC.

This commit is contained in:
Hemanth.HM 2015-07-15 20:16:49 +05:30
parent acd8501b5f
commit 2bf7f0ea91
2 changed files with 12 additions and 12 deletions

View File

@ -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;

View File

@ -3,17 +3,17 @@
<!-- @doxie.inject start toc -->
<!-- Dont 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)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->