Home > Enterprise >  How to update a Github project on IntellijIdea
How to update a Github project on IntellijIdea

Time:01-10

Everyone

I don't know if the question has already been asked, but I'm looking everywhere but I can't find it. I am working on a project on Intellij IDEA using GitHub. I use my desktop computer at work to develop. After finishing I make a commit on Github and it is directly on my account. But, sometimes I would like to continue at home on my laptop, using the same project as well as modifying and committing it. Not knowing much about Github in integration with Intellij, I know that I can take an existing project and thus download it locally on my computer. But my question is, how can I update the changed files on each computer. Example, I work at the office, I modified the A and B file, I commit it to Github, and at home on my computer, I update the Github project on Intellij and suddenly I have the new files modified.

If you have a solution, thank you!

CodePudding user response:

I think you should need to take a "deeper" look into git fundamentals, here's a quick tutorial I think would do for your case: Learn the Basics of Git in Under 10 Minutes

Also (if u can, and have the time) I would suggest you learn to use the git CLI before the IntelliJIDEA integrated plugin, so that, in case of problems, you know where to look under the hood.

CodePudding user response:

You can not update a project simultaneously on multiple PCs, because you are working with a web repository, where you upload a project, modify it, and download it. The simplest and most effortless solution is to simply make clones from the repository. But your idea is good and you can make such an application yourself.

  •  Tags:  
  • Related