[英]how to reset Linux-Next to a specified date?
I have git cloned Linux-Next to my Linux box (Ubuntu1410). 我已经在Linux机器上将git克隆了Linux-Next(Ubuntu1410)。 Now I would like to reset the linux-next to a one month ago state, and then build the kernel.
现在,我想将linux-next重置为一个月前的状态,然后构建内核。 How do I revert my linux-next source tree to a that specific date?
如何将linux-next源树恢复到该特定日期?
thanks! 谢谢!
Generally, you should find the commit which you want to reset. 通常,您应该找到要重置的提交。 And, do the blow command: git reset --hard
然后执行打击命令:git reset --hard
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.