Skip to content

Instantly share code, notes, and snippets.

@crynobone
Last active August 29, 2015 14:25
Show Gist options
  • Save crynobone/c4ef41a69b1480027e82 to your computer and use it in GitHub Desktop.
Save crynobone/c4ef41a69b1480027e82 to your computer and use it in GitHub Desktop.

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 [email protected]: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