Comments (8)
Any ideas on where git revert
would fall under on the topics?
Doesn't feel like a basic snapshot type of lesson to learn as it can get messy rather quickly.
And if we based things sort of along the lines of Git SCM, it's not even listed there.
from git-reference.
Would have to think about where it fits, but thinking about how to structure it as a "short lesson," what do you think about this (have used this in the classroom):
- Most coding is forward moving.
- Git allows craftsmen and craftswomen to think about making the history beautiful, not just the "end state."
- When you create more handsome intermediate states, it is easier to roll back.
- Git revert surgically inverts an old (bad) commit with a new one at the end of the timeline. This is like a banking transaction where you write a new ledger entry that apologizes for the mistake, not erasing the old incorrect ledger entry.
from git-reference.
Squashing commits also play into making a beautiful history. You can have a dozen incremental commits all neatly rolled into one umbrella.
Liking the bank ledger analogy. If people forget what ledgers are you could also reference credit card chargebacks.
from git-reference.
Having thought about this, it almost a warrants a separate section on the left nav. "Shaping history"
?
from git-reference.
Agreed. Though, thought that's where you were heading in anyway when thinking about making a lesson of it.
from git-reference.
@randomecho Ah. The lesson isn't for the this, but rather for a slide deck for our training services via http://training.github.com (but will be open source). Was just noting what was working for me in the classroom.
from git-reference.
No sharing
from git-reference.
Stash and revert are covered in our training kit at https://training.github.com/kit/intermediate and https://training.github.com/kit/advanced
from git-reference.
Related Issues (20)
- Git Bash Command Line Drag & Drop Option HOT 3
- Public git changelog HOT 2
- git clone, should it also clone the hidden dot gitignore (.gitignore) HOT 2
- Missing documents for `git subtree` HOT 2
- [open file] </[>
- phoned HOT 1
- git merge No conflict reported!! HOT 1
- J
- issues for git/git repo HOT 1
- Gito
- startupstockphotos
- https://m.me/ch/AbYmk2XqFUmjAP9I/
- i want
- WheelerHotSprings'&&'AmericanExpress®CreditCharges≈NewYearsEve1996-1997/ACCOMDATION_ONLY@414_DrownAve_Ojai,CA_93023-2833.o..
- Share from Pixlr HOT 1
- ←←
- I am sharing 'fx^N∆]S-i-l-e-n-t-A-s-c-e-r-t-a-i-n-P-a-r-a-d-DEUX' with you BeCarefull..this is similar to Victims'Crime Week brochure .. except you wouldn't know what to inquire - exception - ¿"which k.i.k.. mad.. this ..nv..lop..".o. J-Date Inc : ¡yah..thin..! FYI it's been sent in original to cylance, State of CA, Europe, and they won't have the top different font because .. they are the NEW Owner of the LSTSRV AWS Login Logout LSTSRV mailto From Hæ>>_\_\_|||_|||°•.→{→→}→.•° -i-ponder-to-act-AND-THINK-as-they.gitignore-in-livetime.o 2003, 2016-2023© ScottMJaffe, MEd<iprcenter.gov> have you found Any OUR TeaParty ®<mailto:cvs..rcv...org> ADMISSIBLE Practice is True and Correct Legal Affairs . Swinging is..correct less.stance.eject.gitignore.o HOT 1
- @pedrorijo91 Thanks for laying out those problems. I agree that it would be nice to unify the design and the code a bit, and that it should be easy to get a download by name rather than auto-detecting. I doubt we'll ever have binary packages for Linux, though.
- Share from Pixlr HOT 1
- #copy
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 git-reference.