mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 07:28:35 +02:00
parent
3f5bd7e940
commit
0456426949
1 changed files with 1 additions and 1 deletions
|
@ -1528,7 +1528,7 @@ GitEngine.prototype.commit = function(options) {
|
|||
var targetCommit = this.getCommitFromRef(this.HEAD);
|
||||
var id = null;
|
||||
|
||||
// if we want to ammend, go one above
|
||||
// if we want to amend, go one above
|
||||
if (options.isAmend) {
|
||||
targetCommit = this.resolveID('HEAD~1');
|
||||
id = this.rebaseAltID(this.getCommitFromRef('HEAD').get('id'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue