Skip to content

Instantly share code, notes, and snippets.

@dqaria
Created January 29, 2013 15:14
Show Gist options
  • Save dqaria/4664990 to your computer and use it in GitHub Desktop.
Save dqaria/4664990 to your computer and use it in GitHub Desktop.
Objective-C init Alfred Extension
#请确认你装了cocoapods
#在我的另一个gist里提供了我精心编的Podfile哦
cp ~/iOS/ToolBox/Podfile ~/iOS/{query}/Podfile;
cd ~/iOS/{query}/;
pod install;
curl -u username:password -d "name={query}&scm=git&is_private=true&language=objective-c" https://api.bitbucket.org/1.0/repositories
git add .;
git commit -m "init project";
git remote add origin ssh://git@bitbucket.org/username/{query}.git;
git push -u origin --all;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment