Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git 别名配置 #86

Open
vincentzyc opened this issue Dec 23, 2021 · 0 comments
Open

git 别名配置 #86

vincentzyc opened this issue Dec 23, 2021 · 0 comments

Comments

@vincentzyc
Copy link
Owner

全局设置 sync 别名

git config --global alias.sync '!git pull origin develop && git push origin develop && git checkout master && git merge develop && git pull origin master && git push origin master && git checkout develop'

任何一步出错都会终止

使用

git sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant