added section 'How to Practice the Kata in group/mob session by GIT push/pull handover'

This commit is contained in:
Milan Schwarz
2021-05-02 11:20:35 +02:00
committed by GitHub
parent 1a71e1048d
commit 3521f3231f

View File

@@ -16,3 +16,46 @@ Acknowledgements
----------------
Thank you to Martin Fowler for kindly giving permission to use his code.
Thank you to Emily Bache for creation of this kata.
How to Practice the Kata in group/mob session by GIT push/pull handover
====================================
In the following steps one from the group will fork the repo, add collaborators, each of you clone the forked repo and you can start the Kata in common Mob session!
Fork this repository
----------------
Fork this repository by clicking on the fork button on the top of this page. This will create a copy of this repository in your account.
![image](https://user-images.githubusercontent.com/695210/116807686-c82d6780-ab34-11eb-8221-87b4f4e7adfe.png)
Add collaborators
----------------
Go to your GitHub account, open the forked repository, click on the _Settings_ mentu item, click on the _Manage access_ and then click the _Invite a collaborator_ button. Add all the software craftsmen, who will collaborate on the Kata with you.
![image](https://user-images.githubusercontent.com/695210/116807745-1c384c00-ab35-11eb-923d-b11475181c06.png)
Clone the repository
----------------
Clone the forked repository to your machine.
1. Go to the GitHub account with the forked repository, open the forked repository, click on the code button and then click the copy to clipboard icon.
2. Open a terminal and run the following git command: _git clone "url you just copied"_, where "url you just copied" (without the quotation marks) is the url to this repository (your fork of this project).
For example:
`git clone https://github.com/this-is-you/first-contributions.git`
![image](https://user-images.githubusercontent.com/695210/116808298-5525f000-ab38-11eb-808c-f0070253e89d.png)
Practice the Kata in common Mob session
----------------
1. New driver pulls all the previous changes and start sharing his screen
2. You enjoy the mobbing
3. When limit is done, the last commit is created
4. All commits are pushed to the common repository
5. Drivers are switched and new driver starts with the point 1 (pull + sharing his screen)
Best practices
====================================
* Do as small as possible commits, so you can easily revert the changes if you go a wrong way anytime
* Switch Driver regularly
* I recommend to start with 7 minutes for switch a Driver (and experiment with that during the next session)
* Experiment with navigators (e.g. just one can navigate or everybody navigates)
* Have a fun and learn something new from others!