What is a good way to sync code files between a computer?

I need to code from two computers in a week. What is the best way to sync two computers (Mac)? I started using a control source like SVN. It works very well, except when I check the code that I want to synchronize, but they do not compile, and this interferes with other people in the team working on the same project.

I do not want to use a branch. It would be pointless to branch out every night when I head home from the office.

+5
source share
13 answers

You can check your code on a branch, not on a chest. Then you get all the benefits of version control without disturbing other people with compilation errors.

There is a description of how to fork in subversion here .

+5
source

Other good ways are Mercurial or GIT .

They are similar to what you are trying to execute, except that it is DSCM (distributed), so you do not need to configure the entire server for this.

Make sure you do an UPDATE before CHECKING in your code, and after you UPDATE make sure your project is built.

+5
source

- Microsoft Foldershare ( Live Sync). Mac.

. Mac Microsoft FolderShare , . , , 2-3 . , , (, , ) . FolderShare MP3, .

+3

Dropbox? , , , , .

+2

mercurial (hg) git . USB-, , ( "hg serve" ). , - , . hg, git subversion ( , ).

+2

, . . USB- . .

+2

git. , . SVN, git -svn, git svn . git -svn .

git , . git SVN: , , SVN. , Dropbox , .

, :

  • git-svn clone http://mysvnrepo local_dir,
  • git checkout -b my_new_branch,
  • , , .
  • Dropbox
  • , git merge my_new_branch
  • subversion, git-svn rebase, git -svn dcommit
+2

, , SVN. . , , , .

+1

svn. iDisk, MobileMe.

0

, , , .

  • SVN,
  • , ( ), ( "trunk" )
  • , : , - , . , .
0

Microsoft Live Mesh, , , .

0
0

Cheater, :

  • : , . , , " " POP3. , .

  • -. - , .

.

Edit: oops, sorry, missed the aspect of the command. The email solution still works, but source control is best with the team, because several people are managing the same code. I find TFS and Visual Source Safe less than perfect solutions. The problem with source control systems is a learning curve for mastering them. Unfortunately, in a team environment, that is a necessary task.

-1
source

All Articles