Skip to content
This repository was archived by the owner on Jun 25, 2021. It is now read-only.

in class procedures

Michael Palumbo edited this page Jan 21, 2020 · 8 revisions

VSL weekly class preparation:

new as of week 3: improv filewatcher

Please clone this repo: https://github.com/dispersionlab/gitshowImprov

Ensure you have committed & pushed changes to each of the 4 artefact files in your repo before 11:59pm on Sundays: - score - recording - patch - reflections

important: One of the commands ('git switch') on this page requires git 2.24.1. To check your git version, run

git --version

If the version is older than 2.24.1, you'll need to use 'git checkout'. I've updated the command where appropriate, so just remember which one you need to use. Thanks!

Step 1: ensure master is up to date, merge if needed

Need to ensure your repo is pointed at master branch and is up to date:

# check the current branch
git branch

## if not on master, check if anything needs to be committed
git status

## if any modifications not tracked, commit them
git commit -am "message about the changes"

## switch to master branch
git switch master
### or for earlier git versions:
git checkout master

## if you need to bring and changes from the other branch into master, do a merge
git merge nameOfOtherBranch
### IMPORTANT: Only merge development branches! Do not merge the branches we made in class: soundcheck, improvisation, scorePerformance

# otherwise, check to see if you need to push your work
git status
## if necessary
git commit -am "message..."

git push

Step 2: Score performance

Next, create a new branch for your score performance session:

# make sure you're on the up-to-date master branch
git branch

git switch master
### or for earlier git versions:
git checkout master

# create a branch called 'week2performance'
git switch -c week2performance
### or for earlier git versions:
git checkout -b week2performance

# tell origin to track your new branch
git push -u origin week2performance

## IMPORTANT: DO NOT MERGE THIS BRANCH INTO MASTER

after your performance

save and commit any changes to the patch. push the changes to origin

git push

Step 3: Improvisation session

Next, create a new branch for our improvisation session:

# make sure you're on the up-to-date master branch
git branch

git switch master
### or for earlier git versions:
git checkout master


# create a branch called 'week2Improvisation'
git switch -c week2improvisation
### or for earlier git versions:
git checkout -b week2improvisation

# tell origin to track your new branch
git push -u origin week2improvisation

## IMPORTANT: DO NOT MERGE THIS BRANCH INTO MASTER

During the improvisation:

keep your terminal window open alongside a view of VCV rack. as you make changes to VCV rack, save and commit them. This multitasking will not be easy, but try! note I'm working on a script to auto-commit during the improvisation for next week, but I want to have you do it intentionally first.

after your improvisation session

save and commit any last changes to the patch. push the changes to origin

git push

Step 4: Concluding

Switch/checkout back to master. ensure the patch.vcv and score.md have not been modified since the completion of Step 1. If they have, run

git stash

to maintain consistency the end of your creative work from last week.

Clone this wiki locally