Skip to content

Basing a repo off a fresh easydata project

Amy Wooding edited this page Nov 24, 2022 · 6 revisions

Say you want to spin off some work from an existing easydata project into it's own project. Here's how I'd create a new repo with everything in it.

  • Create a conda environment with cookiecutter in it as per the README.md and activate it. That is:
    • Run cookiecutter https://github.com/hackalog/easydata to generate a new project
    • Initialize the git repo:
      cd [repo name]
      git init
      git add .
      git commit -m "initial import"
      git branch easydata   # tag for future easydata upgrades
      
  • Create a corresponding GitHub repo and follow instructions to upload the repo there
  • Move the project files from the old repo into this new repo
  • Check it in