mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
better error message
This commit is contained in:
parent
3aa66ea57d
commit
904a52fc50
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ GitEngine.prototype.makeBranch = function(id, target) {
|
|||
id = this.validateBranchName(id);
|
||||
if (this.refs[id]) {
|
||||
throw new GitError({
|
||||
msg: 'that branch id already exists!'
|
||||
msg: 'that branch id either matches a commit hash or already exists!'
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue