mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 07:28:35 +02:00
sweet new level
This commit is contained in:
parent
e62a93452f
commit
016f0f45f1
3 changed files with 43 additions and 5 deletions
|
@ -1005,7 +1005,7 @@ GitEngine.prototype.push = function(options) {
|
|||
}, this);
|
||||
|
||||
chain = chain.then(_.bind(function() {
|
||||
var localLocationID = sourceLocation.get('target').get('id');
|
||||
var localLocationID = this.getCommitFromRef(sourceLocation).get('id');
|
||||
var remoteCommit = this.origin.refs[localLocationID];
|
||||
this.origin.setTargetLocation(branchOnRemote, remoteCommit);
|
||||
// unhighlight local
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue