Skip to content

Instantly share code, notes, and snippets.

@tomaarsen
Created April 21, 2023 12:00
Show Gist options
  • Save tomaarsen/24af24c544d4ce367429a834032a1771 to your computer and use it in GitHub Desktop.
Save tomaarsen/24af24c544d4ce367429a834032a1771 to your computer and use it in GitHub Desktop.
Checkout a working, updated RAFT Submission repo
# Clone the full original repo into a local directory
git clone https://huggingface.co/datasets/ought/raft-submission local-raft-submission
cd local-raft-submission
# Fetch the PR and place it in a branch called pr/3
git fetch origin pr/3:pr/3
# Checkout the new branch
git checkout pr/3
# Return to outside of the local, updated raft-submission directory
cd ..
# Use cookiecutter on the local raft-submission
cookiecutter local-raft-submission
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment