This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tech2018:dev_link_to_bitbucket [2018/05/30 16:18] Gianluca Pelliccioli |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Push your local solution to Bitbucket ===== | ||
- | |||
- | |||
- | ==== Setup git parameters (if you haven' | ||
- | |||
- | < | ||
- | 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 | ||
- | 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 | ||
- | |||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
- | [[tech2018: | ||