mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
commandline changes
This commit is contained in:
parent
34f547b56a
commit
8d42c362eb
2 changed files with 57 additions and 70 deletions
|
@ -249,6 +249,13 @@ GitEngine.prototype._deleteBranch = function(name) {
|
|||
delete this.refs[id];
|
||||
};
|
||||
|
||||
GitEngine.prototype.add = function() {
|
||||
throw new Error(
|
||||
"This demo is meant to demonstrate git branching, so don't worry about " +
|
||||
"adding / staging files. Just go ahead and commit away!"
|
||||
);
|
||||
};
|
||||
|
||||
GitEngine.prototype.execute = function(command, callback) {
|
||||
// execute command, and when it's finished, call the callback
|
||||
// we still need to figure this out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue