Skip to content

Instantly share code, notes, and snippets.

@pruan-rht
Last active May 2, 2019 19:32
Show Gist options
  • Save pruan-rht/9977e50c36caeac6f1b5853e463d5d72 to your computer and use it in GitHub Desktop.
Save pruan-rht/9977e50c36caeac6f1b5853e463d5d72 to your computer and use it in GitHub Desktop.
git hacks
#### checkout and use another user's branch
git remote add chancez git@github.com:chancez/operator-metering
git fetch chancez
git checkout -b hive_table_resource chancez/hive_table_resource
export METERING_CR_FILE=/home/pruan/junk/metering-pr655.yaml
export METERING_OPERATOR_IMAGE_REPO=quay.io/ecnahc515/origin-metering-helm-operator
export METERING_OPERATOR_IMAGE_TAG=rewrite2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment