Casbin
CASL
docker run -d -p 3000:80 --name myhttpd --restart always \ -v /c/www:/usr/local/apache2/htdocs/ \ -v /c/config:/usr/local/apache2/conf/ \ httpd
git merge master --no-commit --no-ff(將 master Merge 到當前的 branch)
git merge main --no-commit --no-ff(將 main Merge 到當前的 branch)
git branch -r -d origin/1-branch
git remote -v更新 Remote 路徑
git remote set-url origin {URL}
(would clobber existing tag) 更新 Local Tag 問題git fetch --tags -f將尚未發布任何 commit 的遠端 1-branch 分支強制移動到 main 分支
git push origin main:1-branch --force
git worktree add -b worktree_branch ../worktree_folder master檢視目前的 Worktree 清單
git worktree list刪除 Worktree ,直接刪除目錄,然後執行
git worktree prune
git fetch origin強制把目前的進度切換成跟遠端完全一樣的版本
git reset --hard origin/1-issue
Shell Command: Install 'agy' command in PATH終端機輸入指令
git config --global core.editor "agy --wait" git config --global sequence.editor "agy --wait"VSCode
Shell Command: Install 'code' command in PATH終端機輸入指令
git config --global core.editor "code --wait" git config --global sequence.editor "code --wait"