mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 15:38:33 +02:00
fixes remote branch grabbing
This commit is contained in:
parent
6291baf665
commit
cfea67ecce
6 changed files with 6 additions and 6 deletions
|
@ -888,7 +888,7 @@ GitEngine.prototype.push = function(options) {
|
|||
// HAX HAX update master and remote tracking for master
|
||||
chain = chain.then(_.bind(function() {
|
||||
var localCommit = this.getCommitFromRef(localBranch);
|
||||
var remoteBranchID = ORIGIN_PREFIX + localBranch.getID();
|
||||
var remoteBranchID = localBranch.getRemoteTrackingBranchID();
|
||||
// less hacks hax
|
||||
this.setTargetLocation(this.refs[remoteBranchID], localCommit);
|
||||
return this.animationFactory.playRefreshAnimation(this.gitVisuals);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue