git add
git status
git commit -s -m
git push origin alps_dpu_1.1
git commit --amend
git push -f origin alps_dpu_1.1
git commit -s -m “script: add dpdk-devbind.py to ovs”
出现merge状态如何解决
本地修改merge文件
git add
git commit
git push
git checkout phrase2 //git 切换分支,不创建本地分支
- commit your changes or stash them before you merge 解决办法
如果本地修改已经提交入库,放弃本地修改,直接pull
git reset --hard
git pull