title: How to force sync git code to specific commit id with command line
body: <p>I cloned a new repo on my machine with the command 'git clone <a href="https://xxx.git" rel="nofollow">https://xxx.git</a> C:\git'
  Then I want to by force change the code status to specific commit id for example 'fc46f1d', not the latest.
  What command should I use? </p>