Difference between revisions of "How to start a task"

From MPSWiki
Jump to: navigation, search
(Created page with "#Switch git to master #Pull with rebase #Create new branch with the name starting with branch name as in indicated in your task on the git page #Do your task. Commit your chan...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
#Switch git to master
 
#Switch git to master
#Pull with rebase
+
#Pull with rebase<br><center>[[File:Gitstep1.png]]</center>
#Create new branch with the name starting with branch name as in indicated in your task on the git page
+
#Create new branch with the name starting with branch name as in indicated in your task on the git page<br><center>[[File:Gitstep2.png]]</center>
 
#Do your task. Commit your changes
 
#Do your task. Commit your changes
#Pull with debase on master to see if there are conflicts (solve them if needed)
+
#Pull with debase on master to see if there are conflicts (solve them if needed)<br><center>[[File:Gitstep3.png]]</center>
#Delete your branch in task (see git page) in web interface (if the branch exist on the server) - normally this happens when you already had multiple tests and pushes for this task
+
#Delete your branch in task (see git page) in web interface (if the branch exist on the server) - normally this happens when you already had multiple tests and pushes for this task<br><center>[[File:Gitstep4.png]]</center>
#Push your branch
+
#Push your branch<br><center>[[File:Gitstep5.png]]</center>
 
#When tests failed or more changes appear - repeat starting from #4
 
#When tests failed or more changes appear - repeat starting from #4
 
#Verify that you have a single commit for you task in your branch if not - reset your branch to initial tip in soft mode - all changes will appear in the list of changes and commit it again.
 
#Verify that you have a single commit for you task in your branch if not - reset your branch to initial tip in soft mode - all changes will appear in the list of changes and commit it again.

Latest revision as of 08:37, 12 April 2019

  1. Switch git to master
  2. Pull with rebase
    Gitstep1.png
  3. Create new branch with the name starting with branch name as in indicated in your task on the git page
    Gitstep2.png
  4. Do your task. Commit your changes
  5. Pull with debase on master to see if there are conflicts (solve them if needed)
    Gitstep3.png
  6. Delete your branch in task (see git page) in web interface (if the branch exist on the server) - normally this happens when you already had multiple tests and pushes for this task
    Gitstep4.png
  7. Push your branch
    Gitstep5.png
  8. When tests failed or more changes appear - repeat starting from #4
  9. Verify that you have a single commit for you task in your branch if not - reset your branch to initial tip in soft mode - all changes will appear in the list of changes and commit it again.
  10. Pull with debase on master to see if there are conflicts (solve them if needed)
  11. Switch git to master
  12. Pull with rebase
  13. Click on the tip of your branch in the tree and rebase master on the commit from your branch

you are ready to push