Skip to content

wmswc/wmswc.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

William & Mary's Society of Women in Computing Chapter Website

Maintenance Walkthrough

(Of course if you had the right permissions, you could directly edit the website and push to master, but these instructions are written for the more general SWC body who may not have write permissions.)

Prerequities: Github account, read access to wmswc/wmswc.github.io

  1. Fork the repository screenshot of fork button

  2. Clone the website onto your machine

with ssh:

$ git clone [email protected]:<USERNAME>/wmswc.github.io.git

with html:

$ git clone https://github.com/<USERNAME>/wmswc.github.io.git
  1. Go to your cloned repository
$ cd wmswc.github.io/
  1. Add the original repository as a remote, "upstream"
$ git remote add upstream [email protected]:wmswc/wmswc.github.io.git

In the future, you might want to get the remote's changes using:

$ git fetch upstream
$ git merge upstream
  1. Make a branch for your changes
    • here we will make (-b) and move onto (checkout) a new branch (your-branch-name) which is based on the branch master from our original repository (upstream)
$ git checkout -b your-branch-name upstream/master
  1. Make changes

  2. Commit your changes
    For example:

$ git add --all
$ git commit -m "short description of changes"
$ git push -u origin your-branch-name
  1. Create a pull request
    One way to do this is by

    1. Clicking on 'New pull request' on pull request tab of the original repo screenshot of new PR button
    2. Clicking 'compare across forks' screenshot of compare forks link
    3. Selecting your fork and selecting your changes' branch from the dropdowns screenshot of fork and branch dropdowns
    4. Clicking 'Create pull request' screenshot of create PR button
    5. Editing the title and description of your pull request, then submitting it screenshot of new PR description
  2. Ask someone with write permissions to approve and merge your pull request

About

William and Mary's Society of Women in Computing (ACM-W) Chapter Website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 22