Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
This alias initialises a git repo with a Salesforce specific setup , with gitignore configured to exclude SublimeText project nature, OSX, and MavensMate nature files - which will be individual specific - not good in a distributed setup!.This alias should be added to your [alias] section in ~/.gitconfig, Once you've done that, you can invoke "gi…
init-sf = "!workingdir=$(pwd); tempdir=$(mktemp -dt gitinitsftmp); (cd $tempdir && git init && curl -o .gitignore && mkdir -p apex-scripts && mkdir -p src/classes && touch && cp -R $tempdir/. $workingdir); rm -rf $tempdir;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.