User Tools

Site Tools


tech2018:dev_link_to_bitbucket

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tech2018:dev_link_to_bitbucket [2018/05/30 16:16]
Gianluca Pelliccioli [Setup git parameters (if you haven't done yhem yet)]
— (current)
Line 1: Line 1:
-==== Push your local solution to Bitbucket ===== 
- 
- 
-==== Setup git parameters (if you haven't done them yet)===== 
- 
-<code> 
-git config --global user.name "Mona Lisa" 
-git config --global user.email Your.email@com 
- 
- 
-</code> 
- 
- 
- 
-==== Upload source code from local to BitBucket ===== 
- 
-   * On your local directory (document root) 
-<code> 
- 
-#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 
- 
-</code> 
- 
- 
-==== Create a new "development" branch in BitBucket ===== 
- 
-<code> 
-git checkout -b development 
-git add -A . 
-git commit -m "creating a new branch" 
-git push origin development 
- 
-</code> 
- 
- 
-==== Make your changes to the code using Eclipse ===== 
- 
- 
-ddd 
- 
- 
-==== Commit changes ==== 
- 
- 
-<code> 
-git status  
-git add . 
-git commit -m "chaning folder name" 
-git push origin development 
-</code> 
- 
-==== Update changes from others ==== 
- 
-<code> 
-git pull origin development 
-</code> 
- 
- 
-[[tech2018:development_workflow| back to Tech2018/S3/The development workflow]] 
  
tech2018/dev_link_to_bitbucket.1527696982.txt.gz ยท Last modified: 2018/05/30 16:16 by Gianluca Pelliccioli