mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
rebase onto commits
This commit is contained in:
parent
93abdd9043
commit
73cf66b35e
3 changed files with 14 additions and 4 deletions
|
@ -736,11 +736,12 @@ GitEngine.prototype.rebaseStarter = function() {
|
|||
|
||||
GitEngine.prototype.rebase = function(targetSource, currentLocation) {
|
||||
var targetObj = this.resolveID(targetSource);
|
||||
/*
|
||||
if (targetObj.get('type') !== 'branch') {
|
||||
throw new GitError({
|
||||
msg: 'Only rebase onto branches! Not individual commits'
|
||||
});
|
||||
}
|
||||
}*/
|
||||
|
||||
// first some conditions
|
||||
if (this.isUpstreamOf(targetSource, currentLocation)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue