If you use disconnected mode with Visual Studio to work offline you will be able to edit files while offline. When you reconnect and attempt to check in or deliver local changes to the repository, you will need to merge any conflicting changes at that time. You can test the merged code locally before proceeding with check-in.