I want to be able to stash uncommitted changes:
let repository = openRepository(NSURL(fileURLWithPath: "/Users/modocache/Desktop/MyRepo")!)
let index = repository.flatMap { $0.index }
let commit = index.flatMap { $0.stash(message: "Saving some work for another day") }
I'd also like to be able to apply stashed changes somehow. Not sure what that API should look like yet, but suggestions welcome!
I want to be able to stash uncommitted changes:
I'd also like to be able to apply stashed changes somehow. Not sure what that API should look like yet, but suggestions welcome!