Fork me on GitHub
#off-topic
<
2017-05-12
>
vitruvia20:05:26

On Git is the local repository the files on my machine? And if so, then what is the difference between a commit and simply saving the file with my text editor?

jr20:05:42

a commit is a snapshot in time

vitruvia20:05:59

and saving a file isn`t?

jr20:05:13

files change over time and commits are the file at a specific time

wiseman20:05:05

the local git repository is in the .git directory. so if you’re editing a file foo.clj it doesn’t get put into the repository until you commit it.

echristopherson21:05:40

at least up through chapter 7