I am new to VSC and coding in general. I am currently working in Visual Studio Code to create new data on our website. However I noticed that at the end of the day, I close my computer and then reopen it the next day and continue working on the same branch. Is this normal to do? Or should I always commit my work at the end of the day? What are the disadvantages of not committing at the end of the day?
Asked
Active
Viewed 39 times
0
-
1if your hard disk crashes you have lost your work (if the git remote is on a different drive/computer). There is no difference if you commit local and not push to the remote – rioV8 Sep 16 '21 at 16:30
-
Your question suggests that you don't understand what Git is. I've written a tutorial that might help: https://www.biteinteractive.com/picturing-git-conceptions-and-misconceptions/ – matt Sep 16 '21 at 16:39