摘要: 使用第二个命令 阅读全文
posted @ 2023-05-05 17:11 yinhuachen 阅读(30) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/5816688/resetting-remote-to-a-certain-commit git reset --hard <commit-hash> git push -f origin master 阅读全文
posted @ 2023-05-05 10:57 yinhuachen 阅读(41) 评论(0) 推荐(0) 编辑
摘要: set -o pipefail causes a pipeline (for example, curl -s https://sipb.mit.edu/ | grep foo ) to produce a failure return code if any command errors. Nor 阅读全文
posted @ 2023-05-05 09:53 yinhuachen 阅读(27) 评论(0) 推荐(0) 编辑