firebase deploy functions and overwrite code example
Example 1: firebase deploy only function
firebase deploy --only functions:functionNameHere
Example 2: firebase deploy functions multiple
$ firebase deploy --only functions:function1,functions:function2