What is the complete upload and update process of git?

what is the complete upload and update process for git?

  1. I am clone on another computer. My git remote library "be"
  2. then submit
  3. then I modify the code in "be" directly in the remote library
  4. then fetch in my local

the flow is probably clone = > push = > remote library modification = > fetch

what I want to know is how do I compare with local code text when I update from a remote library? What is the git code for this process?

Jul.19,2021

you clone nothing has changed push what?


are you talking about how to merge local files after pulling remote code? If so, execute git merge branch name, or you can replace this operation with git pull , git pull = git fetch + git merge ;

Menu