Answer the question
In order to leave comments, you need to log in
How to transfer the code to each other if your friend lives far away?
Hello. We decided to cooperate with my friend (although he lives far away) and make a joint project. Already designed and ready to code, but the question arose of code exchange. There is an option through Github, but always clone it yourself. How to implement it? PS I want to know exactly how to implement data transfer
Answer the question
In order to leave comments, you need to log in
Read more about git, great stuff
And then use github, gitlab or bitbucket
Well, as suggested above - some kind of file cloud in which to work together or via ftp.
As you run into the first problems, perhaps you will understand why you need version control and git.
And what difference does it make far or near. If you do not work on one computer, then you need to transfer everywhere. If the project is online, then you can develop online, if not, then either some service with version control, or one project is the main one, and the second sends / receives changes.
And what will be interesting if you put the project in Dropbox or Yandex.Disk, connect it to the development environment, share it with a friend, and he will also connect it to the development environment ... in theory, all saved changes should be transferred immediately, the main thing is not to start editing one and the same file
Transferring data all the time is a bad idea.
You never know - maybe at this very moment the file is being edited by another person, and you are also editing this file. He will save one thing, you will save another - and what will be the result? Your version or his version will remain.
VCS systems - git, mercurrial, pijul, etc. - also protect against this problem, among other things.
Options with github, bitbucket are quite convenient. You don't need to clone all the time. It is enough to clone 1 time. Then git pull, push. Sometimes merge, stash.
Well, if you still want to - then synthing is great for synchronization, no matter where the second participant is.
Archive in rar, and burn it to a CD, they cost a penny right now! You can transfer by any delivery service, or find someone who will drive through.
But in general, fools, this is exactly what the git was created for. If you don't know how to git (svn, mercurial), use dropbox or ftp. But better not use it. Better beatbucket.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question