Skip to content

Git Workflow (2018)

James Kent edited this page Feb 18, 2018 · 1 revision

Git Workflow

  1. If you see an issue with the code, open an issue here
  2. If you are going to fix the issue follow these instructions:
    • if you haven't already clone this repository
      • git clone https://github.com/HBClab/RestingState.git
    • make sure you are on the master branch
      • git checkout master
    • make sure you are up to date
      • git pull origin master
    • make a new branch to fix the issue
      • git checkout -b fix_issue
    • make the changes to the files to fix the issue and add/commit the changes.
      • git add problem_file.sh
      • git commit -m '[FIX] the issue'
    • push the issue to its respective branch on github
      • git push origin fix_issue
    • click on the new pull request button to open a pull request (base should be master and compare should be your branch (e.g. fix_issue))

Clone this wiki locally