Skip to content

donalm/git-workflow-demo-tepqxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Flow Exercise

Setting up.

This might all work on Windows, but that's untested.

  1. Fork this project on gitlab, and clone it to your workstation.
  2. Create a virtualenv called venv for the modules in the dev-requirements.txt file, and enable it.

You should now be able to run tox in the project's base directory, and the tests for the project will run. One of the tests should fail, and both black and flake8 will complain

The exercise.

  1. Create a bugfix branch off from main, fix the failing test, and push that branch to your repo.
  2. Create a merge request to merge that branch into upstream's main branch.
  3. Create a qa branch off of main.
  4. Fix the code quality issues reported by flake8/black, and push your fixes to your qa branch.
  5. Create a merge request to merge that branch into upstream's main branch.

You're done! Thanks for stepping through this exercise.

About

Git workflow demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages