Comments (8)
Hmmm -- I could implement this by stacking serializations of the repo over time. I can serialize / deserialize any particular state of any commit tree, so every git command could just push a new state onto the stack. Undo would pop one off the stack and load it...
It wouldn't be "pretty" though, in the sense that there wouldn't be any cute animation to get everything back to where it is. I would most likely just fade out the tree and then fade in the un-done version back.
In terms of the UI, it would probably be a command, not a button. Would you be down to do the CSS for the button? I was thinking that the app might need some kind of button bar at the bottom, just to help people get started (like maybe help
, undo
, reset
, and a few others). Thoughts?
from learngitbranching.
Hello,
a "help, undo, reset" toolbar would be awesome!
I don't have time currently to do the CSS but I might take a look at that this weekend :)
from learngitbranching.
Hey maelp -- I implemented an undo stack / command this morning, but my Internet was down so I couldn't push the changes. Hopefully it's up tonight and I can update the site
I'll open a separate issue for the command bar at the bottom
from learngitbranching.
This is great news
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Wednesday, February 20, 2013 at 18:36 , Peter Cottle wrote:
Hey maelp -- I implemented an undo stack / command this morning, but my Internet was down so I couldn't push the changes. Hopefully it's up tonight and I can update the site
I'll open a separate issue for the command bar at the bottom—
Reply to this email directly or view it on GitHub (#40 (comment)).
from learngitbranching.
Ok so you can undo
in levels, the sandbox, and the level builder now. You can undo all the way back to the original state of the tree (or the last time you hit "reset").
Thanks for the idea!
from learngitbranching.
Thanks for taking the time to implement it :)
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Thursday, February 21, 2013 at 04:33 , Peter Cottle wrote:
Ok so you can undo in levels, the sandbox, and the level builder now. You can undo all the way back to the original state of the tree (or the last time you hit "reset").
Thanks for the idea!—
Reply to this email directly or view it on GitHub (#40 (comment)).
from learngitbranching.
Wow! Looks like people are using it a lot actually:
I just added some rough logging to see if people are using the site / actually making progress. I'm going to start the origin project, but your suggestion was great!
from learngitbranching.
Glad to see it is really useful, & nice project :)
from learngitbranching.
Related Issues (20)
- Remove branches already concluded (i.e. merged/closed)? HOT 1
- link to a particular lesson HOT 3
- fakeTeamwork command for creating a branch and adding commits is not working! HOT 2
- In git-branch, the name <bugFix> is not allowed
- no support for `git merge A B` HOT 2
- Ban checkout and use "modern" commands switch/restore HOT 3
- Add Turkish (tr_TR) Translations 🇹🇷 HOT 1
- [Bug] Origin IP found HOT 1
- Hi
- Add more clarification on "git branch -f" command HOT 4
- I am a new open source development and I want to create a feature in the Introduction Sequence. Where should I start? HOT 1
- o/main is not synced when doing `git pull origin main:main` HOT 4
- Rebase Introduction is incorrect (git 2.42.0) HOT 4
- level remoteAdvanced3 branch naming not in assignment but required HOT 3
- level 5: teamwork * should not be shown HOT 2
- show solution doesn't work with custom level HOT 3
- minor correction for Korean translation
- Add deep links HOT 2
- Incorrect implementation for git fetch/pull with colon ":" affecting remoteAdvance6 HOT 4
- Add direct link to each level 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 learngitbranching.