Skip to content
Lucia Cerchie edited this page Jan 21, 2022 · 1 revision

Welcome to the examples wiki!

Workflow for internal contributions:

git clone https://github.com/stepzen-dev/examples.git && cd examples git checkout -b new-branch-for-sample

Move back out to your home directory. Run

git clone --depth=1 https://github.com/stepzen-dev/sample_to_clone_here.git new_sample_to_clone_directory_name rm -rf ./new_sample_to_clone_directory_name/.git

^ This clones it without the history and removes the git file so it doesn't become a subdirectory.

Now cd back into examples.

mkdir new-sample-folder && cp -a Users/path-to-/new_sample_to_clone_directory_name ./new-sample-folder ^ this copies the content over into samples.

Next up, git add and commit, push to your branch, and make a PR to main.

Clone this wiki locally