The best way to work with code when you are away from your office

I have to prescribe a lot of time from home. I usually just have a remote desktop on my computer at work and in code. But this is remote desktop: slower, no dual monitor and ...

Is there a better way to do this? Maybe the engine that follows you wherever you go!

+6
visual studio
source share
8 answers

Why not use distributed SCM like Git? You can work remotely and check your local (laptop) repository and synchronize with the office repository when and when you are in the office.

+4
source share

Quite a lot of my colleagues have an entire development environment on a virtual PC installed on a small portable USB drive. When in the office they connect it to the office computer. When you have to work at home, they simply bring a USB drive and run it on their personal PC.

+5
source share

Work on a laptop and carry it with you.

+1
source share

Ask your company if you can download the repository locally to your system and not delete it. In the worst case, they say no

+1
source share

I work from home honestly. At different times, I did most of what you were advised to try:

  • I can check the code from the company repo (SVN) on a USB drive and use it at home;
  • I have a company laptop that I can connect to the company's VPN (security prevents this with my own PC, but then I use the Mac at home, Windows and Linux at work) and the remote desktop for the development platform (which is in any case removed from my office);
  • I recently started using Dropbox, and I had a working copy in my Dropbox at work that automatically syncs with my Dropbox at home;
  • My development environment is a copy of Emacs, and the company provides compiler licenses that I can install on my home computer, so there are no serious software problems.

Thanks to good broadband, any or all of them are very efficient and quite productive. Like you, I skip a few screens when I'm at home, so I'm thinking of buying a new one to get around this problem.

+1
source share

What is the problem, the cost of a license? If not, get a decent distributed version control system and just use your home computer. It's not like a dandy, like using your computer as a remote client, but IMHO its much more practical.

0
source share

sometimes I just copy the source to work on it at home. we use subversion for version control. This is not the most convenient when you are not connected to the server, but it works. you may need to use some distributed version control system, such as mercurial or git, which should be more convenient if you are not connected to the central server, since they will still allow you to view the logs, create branches / merges while offline. note that for all three there are (more or less stable) Windows clients: google for tortoisesvn (for subversion), tortoise (for mercury) and tortie (for git).

0
source share

I installed the SVN repository on my home server. This does not require much, and it seems to me that the problem is not that any old computer that can run some kind of Linux server is not a problem.

It is much easier and safer to use version control software instead of copying files to and from a USB drive, as it is easy to overwrite some changes in this way. Version control performs all synchronization and version comparison, allowing you to keep track of your changes, etc. I chose SVN for several reasons, mainly because of its easy server-side configuration and the excellent Windows client, TortoiseSVN.

However, if you have enough RAM both on your home PC / laptop and in the workplace, you might consider creating a virtual machine. Thus, as soon as the configured workstation can be installed in just a few minutes, almost anywhere (I have been using VirtualBox this way for more than a year).

0
source share

All Articles