We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8aa712c + 4dff2d3 commit 9e20ce4Copy full SHA for 9e20ce4
src/command/new-interactive.js
@@ -14,15 +14,6 @@ function runInteractive(options = {}) {
14
startFromBranches = startFromBranches.concat(toRemote(currentBranch));
15
}
16
17
- const refBranches = config.refs
18
- .references()
19
- .filter(name => git.branchExists(name, config.remote))
20
- .map(name => toRemote(name));
21
-
22
- if (refBranches.length) {
23
- startFromBranches = startFromBranches.concat(new inquirer.Separator(), refBranches);
24
- }
25
26
const remoteBranches = git.branchesInfos('-r')
27
.map(info => info.branch)
28
.filter(name => startFromBranches.indexOf(name) === -1 && !(name === config.remoteDevelop || name === config.remoteProduction));
0 commit comments