This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tech2018:dev_link_to_bitbucket [2018/05/30 10:24] Gianluca Pelliccioli |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | |||
- | ==== STEP2: create repository in BitBucket ===== | ||
- | |||
- | |||
- | |||
- | * Subscribe online to bitbucket | ||
- | * Create a new project " | ||
- | |||
- | |||
- | ==== 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 | ||
- | git pull origin master | ||
- | git push origin master | ||
- | |||
- | </ | ||
- | |||
- | |||
- | ==== Create a new " | ||
- | |||
- | < | ||
- | git checkout -b development | ||
- | git add -A . | ||
- | git commit -m " | ||
- | git push origin development | ||
- | |||
- | </ | ||
- | |||
- | |||
- | ==== Make your changes to the code using Eclipse ===== | ||
- | |||
- | |||
- | ddd | ||
- | |||
- | |||
- | ==== Commit changes ==== | ||
- | |||
- | |||
- | < | ||
- | git status | ||
- | git add . | ||
- | git commit -m " | ||
- | git push origin development | ||
- | </ | ||
- | |||
- | ==== Update changes from others ==== | ||
- | |||
- | < | ||
- | git pull origin development | ||
- | </ | ||
- | |||