Network&etc/Git&Github
sh파일로 깃명령어 간소화
두바이유
2022. 7. 22. 18:26
깃명령어를 간소화할수있다.
commit.sh
# main,test에 자동 커밋푸시
# 실행: git bash에서 경로+파일명 예) ./commit.sh
git checkout main
git pull --rebase
git push
git checkout test
git pull --rebase
git merge main
git push
반응형