Number of computers #40
-
|
Is it possible to access/work with a Git repository from two different computers, e.g. one computer at home and one at faculty, or do I have to work with only one computer? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
You can work from any computer. In fact, one of the advantages of Git is that it is a distributed version control system. All you need to do is, from the first computer, upload your changes to GitHub via a In part A of the first practice (Arduino), we see the |
Beta Was this translation helpful? Give feedback.
You can work from any computer. In fact, one of the advantages of Git is that it is a distributed version control system. All you need to do is, from the first computer, upload your changes to GitHub via a
git pushand then, from the second computer, grab your updated repository with agit cloneor agit pulldepending on whether you had cloned the repository on the second computer.In part A of the first practice (Arduino), we see the
git pushcommand. In the second part, the B (STM32), we see the commandgit pull.