mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28: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) {
|
||||
var result = '';
|
||||
branches.forEach(function (branch) {
|
||||
result += (branch.selected ? '* ' : '') + branch.id + '\n';
|
||||
branches.forEach(branch => {
|
||||
result += (branch.selected ? '* ' : '') + this.resolveName(branch.id).split('"')[1] + '\n';
|
||||
});
|
||||
throw new CommandResult({
|
||||
msg: result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue