User Tools

Site Tools


tech2018:dev_link_to_bitbucket

STEP2: create repository in BitBucket

  • Subscribe online to bitbucket
  • Create a new project “MyWManagerFirtsProject”

Setup git parameters

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
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

Make your changes to the code using Eclipse

ddd

Commit changes

git status 
git add .
git commit -m "chaning folder name"
git push origin development
tech2018/dev_link_to_bitbucket.1527675562.txt.gz · Last modified: 2018/05/30 10:19 by Gianluca Pelliccioli