User Tools

Site Tools


tech2018:s3:dev_link_to_bitbucket

Push your local solution to Bitbucket

Setup git parameters (if you haven't done them yet)

git config --global user.name "Mona Lisa"
git config --global user.email Your.email@com

Upload source code from local to BitBucket

  • On your local directory (document root)
#remove the previous .git folder from GitHub
rm .git -Rf

#create new git details for bitbucket
git init
git remote add origin  https://pgianit@bitbucket.org/pgianit/myfirstwmanagerproject.git
git pull origin master
git push origin master

Create a new "development" branch in BitBucket

git checkout -b development
git add -A .
git commit -m "creating a new branch"
git push origin development

back to Tech2018/S3/The development workflow

tech2018/s3/dev_link_to_bitbucket.txt · Last modified: 2018/06/06 08:54 by Gianluca Pelliccioli