Roll back the code

Hi

is there any shell script to roll back the code when the code is deployed in a wrong way in production servers

If you don't know how your deployment works etc., then how should we do? Ask a fellow co-worker that knows about this.

Pls let us know what code u have deployed??

Perhaps you could restore from a recent backup.