Erich H.
Erich H.

Reputation: 467

Figure out what files have changed between local and remote server in NetBeans?

I am using NetBeans 7.2.1 on a Windows machine for PHP (Drupal) development. I am connecting to a remote dev server via SFTP. So I have the site both locally running AND running on the remote server. I have my setup set to where when I save a file locally it does NOT automatically get uploaded to the remote dev server. I do this so if anyone is viewing the dev server, they are not seeing wonky things as I am developing. Once I get it to a point where I want to upload, I know I can manually upload each file by right clicking and choosing upload, but sometimes I might forget all of the various files I might have worked on. We are not using GIT or SVN unfortunately or this would be easy. Is there a way to do a diff against the directory structure on my local machine vs. what's on the remote server and selectively upload the files that have changed? I know there is "synchronize", but when I did that it didn't give me a chance to see what had changed, it just started synchronizing everything. Is this even possible in NetBeans?

THANKS

Upvotes: 1

Views: 1532

Answers (1)

tanyehzheng
tanyehzheng

Reputation: 2221

You probably missed the diff button over there that is activated after you click on a file.

enter image description here

enter image description here

Upvotes: 2

Related Questions