Skip to content

Instantly share code, notes, and snippets.

@BenjaminVanRyseghem
Created February 28, 2014 09:49
Show Gist options
  • Save BenjaminVanRyseghem/9268250 to your computer and use it in GitHub Desktop.
Save BenjaminVanRyseghem/9268250 to your computer and use it in GitHub Desktop.
Pharo preference to set git repo to Spec project
StartupAction
name: 'Set git repo'
code: 'MCWorkingCopy allManagers
select: [ :e | e package name beginsWith: ''Spec'' ]
thenDo: [ :e || repository |
repository := MCFileTreeRepository new directory: ''/Users/benjamin/Documents/Benjamin/Spec/spec'' asFileReference.
e repositoryGroup addRepository: repository ]'
runOnce: true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment