Skip to content

Instantly share code, notes, and snippets.

@takaaki
Created May 8, 2009 02:02
Show Gist options
  • Save takaaki/108553 to your computer and use it in GitHub Desktop.
Save takaaki/108553 to your computer and use it in GitHub Desktop.
sinatra_programs % git init
Initialized empty Git repository in /Users/takaaki/repos/sinatra_programs/.git/
sinatra_programs % git add .
sinatra_programs % git ci -m "Initial commit"
Created initial commit 3b18ec3: Initial commit
2 files changed, 8 insertions(+), 0 deletions(-)
create mode 100644 config.ru
create mode 100644 myapp.rb
sinatra_programs(master) % heroku create --remote
Created http://high-mountain-16.heroku.com/ | git@heroku.com:high-mountain-16.git
Git remote heroku added
sinatra_programs(master) % cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "heroku"]
url = git@heroku.com:high-mountain-16.git
fetch = +refs/heads/*:refs/remotes/heroku/*
sinatra_programs(master) % heroku list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment