Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 854 Bytes

README.md

File metadata and controls

50 lines (37 loc) · 854 Bytes

Git Tasks

How to solve tasks

Prerequisites

  1. Before starting the first task, run init-tasks to make the task.py script available.

Working with tasks

  1. Pick a task from the list below.
  2. Run a script to start a task: python3 task.py <taskname> start
  3. Solve the task.
  4. Run a script to verify your solution: python3 task.py <taskname> check

Tips

All branches for given task have prefix <taskname>-.

To see only task-related branches in gitk: gitk --branches=<taskname>-*

List of tasks

  1. switch
  2. add
  3. commit
  4. log
  5. diff
  6. new-branch
  7. delete-branch
  8. merge
  9. rebase
  10. conflict-rebase
  11. commit-amend
  12. reset-hard
  13. reset-soft
  14. revert
  15. conflict-revert
  16. cherry-pick
  17. conflict-cherry-pick
  18. change-message
  19. squash-commits
  20. reorganize-commits
  21. drop
  22. stash
  23. apply-stash
  24. blame