Redis DISCARD command flushes all previously queued commands in a transaction and restores the connection state to normal.
String reply OK
Basic syntax of redis DISCARD command is shown below:
redis 127.0.0.1:6379> DISCARD