Skip to content

Instantly share code, notes, and snippets.

@aliou
Created May 31, 2013 14:29
Show Gist options
  • Save aliou/5685360 to your computer and use it in GitHub Desktop.
Save aliou/5685360 to your computer and use it in GitHub Desktop.
#!/bin/sh
# requires https://bitbucket.org/zhemao/bitbucket-cli
for folder in `ls -1`
do
[[ -d $folder ]] && cd $folder && git init && git add . && git commit -am "Initial Commit" && bitbucket create_from_local && cd ..
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment