I'm fairly new to Git and here's my situation:
I realize I can git checkout master file_paths
but it would be nice if git could
Is there a way to do this? Or a better (faster) workflow?
Thanks!
git ls-files | sed 's/.*/git checkout master -- "&"/' | sh -x
或(我在想什么)
git ls-files | xargs git checkout master --
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.