Skip to content

Instantly share code, notes, and snippets.

@zmarkan
Last active December 3, 2020 11:29
Show Gist options
  • Save zmarkan/2a623d571857e638d0baeff512c0c989 to your computer and use it in GitHub Desktop.
Save zmarkan/2a623d571857e638d0baeff512c0c989 to your computer and use it in GitHub Desktop.
Commit to branch, push, and trigger a new CI build. Useful when debugging CI/CD configurations.
# Add this to your BASH or ZSH profile.
# Execute with ciffs
alias ciffs='branchname=`git rev-parse --abbrev-ref HEAD` && git commit -am "CI FFS" && git push origin $branchname'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment