Skip to content

Instantly share code, notes, and snippets.

@navarrothiago
Created October 25, 2021 23:24
Show Gist options
  • Save navarrothiago/b37002b7c02111722061f240338185d8 to your computer and use it in GitHub Desktop.
Save navarrothiago/b37002b7c02111722061f240338185d8 to your computer and use it in GitHub Desktop.
Update github workflow branch
#!/usr/bin/env bash
main() {
git commit -a -m "update ginkgo"
echo "teste" >> teste
git commit -a -m "test"
git push origin-private github-workflow:test-ci -f
git checkout HEAD~1
git branch -d github-action
git switch -c github-action
git push accuknox-private github-action:github-workflow
git switch github-workflow
exit 0
}
main "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment