mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
switching use of master to main in git branch cmd
This commit is contained in:
parent
cd0a070e43
commit
8057d2a5da
1 changed files with 2 additions and 2 deletions
|
@ -793,8 +793,8 @@ GitEngine.prototype.printBranchesWithout = function(without) {
|
||||||
|
|
||||||
GitEngine.prototype.printBranches = function(branches) {
|
GitEngine.prototype.printBranches = function(branches) {
|
||||||
var result = '';
|
var result = '';
|
||||||
branches.forEach(function (branch) {
|
branches.forEach(branch => {
|
||||||
result += (branch.selected ? '* ' : '') + branch.id + '\n';
|
result += (branch.selected ? '* ' : '') + this.resolveName(branch.id).split('"')[1] + '\n';
|
||||||
});
|
});
|
||||||
throw new CommandResult({
|
throw new CommandResult({
|
||||||
msg: result
|
msg: result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue