mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
Fix more typo, '
and some word
This commit is contained in:
parent
e8c8f8975a
commit
41bb6d1bd7
14 changed files with 35 additions and 38 deletions
|
@ -19,7 +19,7 @@ function isColonRefspec(str) {
|
|||
}
|
||||
|
||||
var assertIsRef = function(engine, ref) {
|
||||
engine.resolveID(ref); // will throw giterror if cant resolve
|
||||
engine.resolveID(ref); // will throw git error if can't resolve
|
||||
};
|
||||
|
||||
var validateBranchName = function(engine, name) {
|
||||
|
@ -255,7 +255,7 @@ var commandConfig = {
|
|||
// get o/master locally if master is specified
|
||||
destination = engine.origin.refs[source].getPrefixedID();
|
||||
} else {
|
||||
// cant be detached
|
||||
// can't be detached
|
||||
if (engine.getDetachedHead()) {
|
||||
throw new GitError({
|
||||
msg: intl.todo('Git pull can not be executed in detached HEAD mode if no remote branch specified!')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue