1.0.13 • Published 3 years ago
git-workshop v1.0.13
Git workshop
This is a Git workshop to learn and practice basic git commands and features.
The workshop consists of a few exercises that targeting a specific git feature(s).
Run gw to print details and instructions.
Flow
Each exercise consists of 2 parts:
- the exercise description and necessary preparations - run
gw start N, whereNis the exercise number - the exercise verification (check execution) to be run to verify your job - run
gw check N, whereNis the exercise number
There are also a few other commands available:
clean- resets any store files/setups related to a specific execersise - rungw clean N.alloption allows cleaning all the exercises - rungw clean all.
printprint details availab;e execersises - rungw print.printprint details of a specific execersise - rungw print N.alloption allows printing all the exercises - rungw print all.
restartcleans up and starts the requested exercise - rungw restart N.solutionprint a possibele colution for the requested exercise - rungw solution N.
Starting
- To start workshop, create a new folder where all the workshop materials will be stored.
- In your terminal, go to that folder and start doing exercises:
- run
gw start N - perform the required tasks
- run
gw check N- it will check and print the results
- if any test has failed, you can apply the missing parts and run
gw check Nagain when ready - you can run
gw restart Nto re-start the whole step over (you will lost any of yur changes)
- run
- No need to run the clean action when moving to the next exercise