简体   繁体   中英

How to create patches?

I am using Git-Extensions for Windows. I want to create patches from yesterday specific user automatically, so I need command code eg:

git format-patch from date_from to date_to user my_user

Is it possible? Command line example would be great.

git format-patch --author my_user --after 'yesterday midnight' --before 'today midnight' "$(git rev-list --max-parents=0 -n 1 HEAD)"生成昨天提交的所有内容my_user。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM