Git - Bitbucket

1.

cd /path/to/my/repo
git remote add origin https://username@bitbucket.org/uername/repo.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

2.

mkdir /path/to/your/project
cd /path/to/your/project
git init
git remote add origin https://username@bitbucket.org/gycsaba/project.git

git clone https://gycsaba@bitbucket.org/gycsaba/www.vasvari.hu.git
git pull

3.

git remote add bitbucket https://gycsaba@bitbucket.org/gycsaba/www.vasvari.hu.git

Témák: