进入Git GUI >> Repository >> Visualize master’s history 要返回的节点 >> 右键 Reset branch master to here 选择Hard: Reset working tree and index >> OK 本地仓库发生相应变化