Skip to content

Document how to lay down this template on an existing repo #31

Description

@ioggstream

I expect

  • document how to copy this template files on an existing repo

Note

For example, the following command clones this repo in /tmp and uses tar do lay down the missing files on the curent directory.

cd /my/current/repo
git clone https://github.com/par-tec/python-cookiecutter/ /tmp 
# copy missing files to current repo using tar, without overwriting (-k)
git -C /tmp/python-cookiecutter ls-files | \
  xargs tar -C /tmp/python-cookiecutter --create --file - | \
  tar -k -xf -
  

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions