create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
Here's how this works:
git_hooks/ directory in your project, with these two files (plus other hooks if you want, written in a similar style)."npm" to your devDependencies in package.json, so that the pre-commit hook can do its magic.test and lint scripts to your package.json, e.g. "scripts": {
"test": "mocha",
"lint": "jshint ./lib --show-non-errors"| App.Router = Backbone.Router.extend({ | |
| routes : { | |
| "" : "home" | |
| ,"/" : "home" | |
| ,"!" : "home" | |
| ,"!/" : "home" | |
| ,"!/:username" : "show_user" | |
| ,":username" : "show_user" | |
| ,":username/" : "show_user" |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <title>knockout binding test</title> | |
| <style type="text/css"> | |
| #sidebar { float: left; width: 15em; } | |
| #details { float: left; } | |
| #sidebar li { list-style: none; } | |
| #sidebar a { list-style: none; background-color: silver; width: 8em; margin-bottom: 0.5em; padding: 0.5em; display:block; } | |
| #sidebar a.selected { background-color: Navy; color: white; } |