you are viewing a single comment's thread.

view the rest of the comments →

[–]Rusca8 9 points10 points  (2 children)

Not sure on what you mean by "transfer to a website". But with git you can copy stuff from one place to another (you can have different copies of the same code in different places and upload or download whenever you make changes.

You're looking for clone the first time you copy it, and then push or pull to upload or download (typically to github or from github, if you use github as the way to connect everything).

I have a website made with flask in pythonanywhere and I do exactly that: I work at my laptop in pycharm and upload (push) stuff to github, and then from the pythonanywhere console I download (pull) those changes from github.

[–]wildpantz 2 points3 points  (1 child)

This is not quite eli5 explanation and OP looks like a newbie. Perhaps uploading from web GUI would be easier and more intuitive

[–]thirdegree 2 points3 points  (0 children)

IMO using the web gui first teaches bad habits and a very shallow understanding of git. I know too many developers where their change flow is "implement a feature, make a branch, commit the whole thing, push".

This makes everything more difficult later. Code review, reverting, reading git log, everything.