Linux GitGit SnippetGit Snippetmove branch to another commit (not recommand)1 git branch --force <branch name> <commit id> list changed filename1 git diff --name-only HEAD ref: stackoverflow