長條貓窩

Back

Git Snippet#

move branch to another commit (not recommand)#

 git branch --force <branch name> <commit id>
plaintext

list changed filename#

 git diff --name-only HEAD
plaintext

ref: stackoverflow

Git Snippet
https://blog.simbafs.cc/legacy/git-snippet/
Author Simba Fs
Published at February 20, 2023