Skip to content

Instantly share code, notes, and snippets.

@crynobone
Last active Aug 29, 2015
Embed
What would you like to do?

Create a new project.

$ mkdir project
$ cd project

Create a default empty git repository.

$ git init .

Add upstream remote so we can fetch updated setup.

$ git remote add orchestra git@github.com:orchestral/platform.git

Before fetching, we should disable fetching tags. This can be set permanently per repository via:

$ git config remote.orchestra.tagopt --no-tags

Now you should disable pushing any changes to orchestra (in case you have write permission to the repository):

$ git remote set-url --push orchestra no_push

Now we need to fetch all.

$ git fetch --all

And branch out a new skeleton branch

$ git checkout --orphan skeleton
$ git add .
$ git commit --sam "Base Skeleton"
$ git merge --squash orchestra/3.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment