标签:bin 一键 rebase etc gerrit git push mit grep com
#!/bin/bashgit branch | grep "*"git add .git commit -m $1git fetch && git rebase git push origin HEAD:refs/for/$var标签:bin 一键 rebase etc gerrit git push mit grep com
原文地址:https://blog.51cto.com/12165865/2408033