Git命令

    技术2023-11-14  66

    新建分支 git branch test_name 查看本地分支 git branch 查看本地分支和远程分支 git branch -a 切换分支 git checkout test_name 将test_name1内容复制到本分支 git merge test_name1 查看分支状态 git status 查看本地修改的内容 git diff 提交 git add file git commit -m "fix bug" git push origin test_name
    Processed: 0.012, SQL: 9