This script is the same method with spSynchStoredProcedure but used for views.
To run this stored procedure, you need to create two linked servers for your source server and your target server. You can create them in local SQL Server and then run this to synchronize.
For example, your development server is called DEV and your production server is called PROD, and you create two linked servers in local SQL Server with the same name. Assumed that your database between DEV and PROD have the same name: TestDB.
If you want to synchronize a view called TestView between TestDB of DEV and PROD, you can excute like that:
EXEC dbo.spSynchView @ViewName = 'TestView', @SourceServer = 'DEV', @SourceDatabase = 'TestDB', @TargetServer = 'PROD', @TargetDatabase = 'TestDB'
This procedure may be useful if your view is not over 4000 characters. If it's over 4000 characters, you have to modify it a little.