Skip to content

Latest commit

 

History

History
81 lines (58 loc) · 2.31 KB

requirements.md

File metadata and controls

81 lines (58 loc) · 2.31 KB

Download these plugins for ease of working

Clone this repo and so the following

  • check if there is a branch with your group/name in the repo

image showing how to check if branch exists

if it doesn't contact a maintainer and tell them about this issue.

  • install all packages
    npm i --include=dev
  • do the following command when doing the first push

setting orgin and creating the branch

    git checkout -b your-username
    git remote add origin https://github.com/Stacs-nssce/Stacs-website/tree/your-branch-name

adding yourself into the contributors file

    echo "- [your name](your github profile link)" >> contributors.md

staging and committing the changes you made to the repo

    npm run add
    git commit -m "initial push"

Setting the push orgin to the branch you created

    git push --set-upstream origin {your username}

This does not need to be done after the above steps, but instead after you've made more changes. After you've completed all these steps you can continue to push updates normally after making changes with

    npm run add
    git commit -m "Information about your commit"
    git push

as your origin is set to your branch now!!

don't forget to make a pull request after pushing the new changes

If you are forking the repo

Click me to fork this repo

  • Create a new branch in your forked repo image showing how to cerate a branch onl github

  • Then do the follwoing steps locally

Go to a folder of your choice and do the following

    git clone https://www.github.com/{your-name-here}/Stacs-website
    cd Stacs-website
    npm i --include=dev
    git checkout -b your-name-here
    git remote add origin https://github.com/Stacs-nssce/Stacs-website/tree/{your-name-here}
    echo "- [your name](your github profile link)" >> contributors.md
    npm run add
    git commit -m  "Initial commit"
    git push --set-upstream origin {your-name-here}

image showing how to create a pull request