简体   繁体   中英

Recover deleted file or folder from git repository

I installed a Git repository through the Apple App (Server) everything works correctly up to here no problem. For error in my Xcode project I deleted some files, now I want to restore all my deleted files from an old commit. I can not find any work to recover these files. Can someone kindly help me? thanks really.

You can use git reset but other people which uses your repo may have some issues with repo. Also you can try git revert , see more .

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