Skip to content

ML-Tower-Defense/flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Flow

This repo contains an example guide of what our workflow (based on GitHub flow) might look like for project development and collaboration.

Steps

  1. In GitHub Desktop, click the Current branch button to open the branch menu. The main branch is our default master branch that we will branch off of when starting on a new task. Click the New branch button to create a new branch. When choosing a branch name, you can refer to the task that you're working on. For example if you're working on implementing a basic map, you could name the branch implement-basic-map. The new branch allows you to make whatever changes for your task without affecting the main branch. After naming the branch, click the Create branch button.

Image 01

Image 02

  1. Whenever you make changes locally, the file differences will appear under the Changes tab. You can choose which files to commit by checking the box next to each file. If there are files that you don't want to include in the commit, you can uncheck the box for those files. In the bottom left corner, describe your commit changes by typing into the message box. Click the Commit to ... to make the commit. You can publish the branch to push it to the repo.

Image 03

Image 04

  1. After you have completed your work on the task, click the Create Pull Request button. This will open a page in the browser. You can name the pull request based off of your task and describe the changes you made in the Write box. Click the Create pull request button to publish it.

Image 05

Image 06

  1. If your pull request is ready for review, you can drop the link to it in Discord and have someone look it over. If everything has been addressed and it is approved, click the Merge pull request button. This will merge the changes from your branch into the main branch.

Image 07

  1. After the pull request has been merged, you can click the Delete branch button to indicate that the work on that branch is done.

Image 09

  1. Whenever changes are made to the remote main branch, you'll need to pull the changes to update your local version of the main branch. To do this, make sure the main branch is selected as the Current branch and click the Pull origin button to sync it with the latest changes.

Image 08

About

A guide for following our GitHub workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published