Comments (3)
We can create a stash thanks to b305354 and 699f411. It turns out a stash creates a commit object.
The next part of this issue would involve applying a stash. Perhaps "applying a stash" would simply mean merging the commit that was created? Is there a way to get a list of stashes, like git stash list
? Ideally, we would be able to list all stashes, find the one we want, then apply it.
from gift.
Hi @modocache!
There are two things related to stashing that I think I can help shed some light on.
With regards to applying a stash, I don't know the specifics, but I'm pretty sure that it's far more complicated than a simple merge. Fortunately it appears that libgit2 will get git_stash_apply and git_stash_pop
soon.
With regards to getting a list of stashes libgit2 already has this built in, with git_stash_foreach
.
Hopefully this helps,
Ezekiel
from gift.
Awesome, thanks for the heads up, @PiersonBro! 👍
from gift.
Related Issues (20)
- Gift.xcodeproj: Add support for building as an iOS framework
- Add bootstrapping script HOT 2
- Add continuous integration script
- README: Add instructions on how to integrate Gift into other projects HOT 1
- More features! HOT 1
- Eradicate TODOs HOT 1
- Do not include pre-compiled libgit2.a static libraries in source control HOT 1
- Linker flags to brew installed libraries HOT 2
- Extract LlamaKit.Result matchers into separate repository
- Expand CheckoutOptions
- Support remotes
- Expand CloneOptions
- Expand RemoteCallbacks
- Expand RepositoryInitializationOptions
- StatusDeltaOptions should create a git_strarray for the given paths
- Support git_blame_file
- Rake tasks to build libgit2-iOS fail when using Xcode 6.1
- Swift 2 Support HOT 2
- ``rake dependencies build`` fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gift.