Featured image of post Git Snippet

Git Snippet

Git Snippet

move branch to another commit (not recommand)

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

list changed filename

1
 git diff --name-only HEAD

ref: stackoverflow

Licensed under CC BY-NC-SA 4.0
好想養貓阿~~
使用 Hugo 建立
主題 StackJimmy 設計