mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
basic command line history done
This commit is contained in:
parent
78d0aa5b55
commit
24fbcdd2ae
5 changed files with 118 additions and 5 deletions
|
@ -249,6 +249,11 @@ GitEngine.prototype._deleteBranch = function(name) {
|
|||
delete this.refs[id];
|
||||
};
|
||||
|
||||
GitEngine.prototype.dispatch = function(commandObj) {
|
||||
// TODO: parse arguments
|
||||
this[commandObj.method]();
|
||||
};
|
||||
|
||||
GitEngine.prototype.add = function() {
|
||||
throw new Error(
|
||||
"This demo is meant to demonstrate git branching, so don't worry about " +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue