Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file versions are not saved; changes to files are tracked/recorded #964

Open
maneesha opened this issue Aug 17, 2023 · 1 comment
Open

Comments

@maneesha
Copy link
Contributor

How could the content be improved?

In the Summary and setup section, we say the following (emphasis mine):

Nothing that is committed to version control is ever lost, unless you work really, really hard at it. Since all old versions of files are saved, it’s always possible to go back in time to see exactly who wrote what on a particular day, or what version of a program was used to generate a particular set of results.

Git does not actually save entire versions of files. Instead it tracks and records the changes that were made to each file. When I was first learning Git, this was an important shift I had to make in my mental model of how my work was being saved. Consider changing the text here to reflect what Git is actually doing. That distinction would have helped me greatly when I was first learning Git.

Which part of the content does your suggestion apply to?

https://swcarpentry.github.io/git-novice/

@jas58
Copy link

jas58 commented Sep 30, 2023

@maneesha May I ask the words you are suggesting instead?
Would it be:
Since all changes made within a file are tracked and recorded after comit/push(I'm always confused by the verbs), it is possible to return to a particular day and read the prior versions.

Or something else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants