I'm working on a project on two different computers and I want to be able to simply push from one computer and pull it on the other so that it essentially replaces the local one with the one on Github. Just a simple replace this, with that
I've tried looking it up but I don't really understand the terms, I'm new to using Github so I don't get merges, and branches. I just want to pick up where I left off on the other computer. I tried some solutions I found but then I didn't understand the Merge editor so I accidentally deleted the code in one of the files. So, I'm afraid to keep trying to use commands randomly.
if I use $ git clone
again, will that replace all of my current files in my project to match the one on Github?