Skip to content

Instantly share code, notes, and snippets.

@a9un9hari
Created November 14, 2013 20:42
Show Gist options
  • Select an option

  • Save a9un9hari/7473988 to your computer and use it in GitHub Desktop.

Select an option

Save a9un9hari/7473988 to your computer and use it in GitHub Desktop.

//Set up Git on your machine if you haven't already.

mkdir /path/to/your/project cd /path/to/your/project git init git remote add origin ssh://git@bitbucket.org/a9un9hari/l.git

//You already have a Git repository on your computer. Let's push it up. cd /path/to/my/repo git remote add origin ssh://git@bitbucket.org/a9un9hari/l.git git push -u origin --all # pushes up the repo and its refs for the first time git push -u origin --tags # pushes up any tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment