長條貓窩

Back

(Legacy)

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/blog/git-snippet/
Author Simba Fs
Published at February 20, 2023