Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 869 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 869 Bytes

Git Tasks

How to solve tasks

Prerequisites

  1. Enter the sudo dnf install python3-GitPython command to install necessary dependencies.
  2. 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. merge
  2. rebase
  3. blame
  4. stash
  5. apply-stash
  6. cherry-pick
  7. conflict-cherry-pick
  8. new-branch
  9. commit-amend
  10. reset-hard
  11. reset-soft
  12. revert
  13. conflict-revert
  14. change-message
  15. squash-commits
  16. reorganize-commits
  17. drop