Locate the section for your Stash remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = https://your.stash.domain/stash/scm/project/repo.git
Now add the line fetch = +refs/pull-requests/*/from:refs/remotes/origin/pr/* to this section. Obviously, change the Stash url to match your project's URL. It ends up looking like this:
#Polymer learning resources
##Official resources
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Using a switch/case statement with numeric ranges is possible with this trick. | |
| // http://modernweb.com/2013/12/23/45-useful-javascript-tips-tricks-and-best-practices/ | |
| function getCategory(age) { | |
| var category = ""; | |
| switch (true) { | |
| case isNaN(age): | |
| category = "not an age"; | |
| break; | |
| case (age >= 50): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { "keys": ["f12"], "command": "htmlprettify"}, | |
| { "keys": ["f1"], "command": "fold" }, | |
| { "keys": ["f2"], "command": "unfold" }, | |
| { "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }, | |
| { "keys": ["ctrl+space"], "command": "auto_complete" }, | |
| { "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context": | |
| [ | |
| { "key": "last_command", "operator": "equal", "operand": "insert_best_completion" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yo angular --minsafe |