I have a requirement that once I push a csv file to remote branch, it should call an npm script to process the data from CSV file.
Please advice which would be the best way to do this.
Git does not have a post-push hook. There is a pre-receive hook that you can set up in the git server if you are using your own git server. You can read up on it here Git hooks
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.