Skip to content

PrincetonUniversity/specfempp-notes

Repository files navigation

Specfempp-Notes

This repo is just for keeping track of notes, slides, etc., that are relevant for the development of SPECFEM++.

LLNL-Princeton PE & EM Hackathon link

Poro-Elastic (PE)

Electro-magnetic (EM)


Project workflow (for any GitHub project) assuming that you have “forked” the repo:

  1. Sync your fork
    1. On your GitHub SPECFEM fork, choose a base branch (e.g. PE)
    2. Click “Sync fork”
  2. Get or update the branch in your local terminal
    1. Get
      1. git clone [email protected]:<username>/SPECFEMPP.git
      2. git checkout <base-branch>
    2. Update
      1. git checkout <base-branch>
      2. git pull origin <base-branch>
  3. Choose Issue to work on in the Project, e.g. #612 (Update the timescheme)
    1. Make sure to assign yourself to the issue!
  4. Create branch to work on
    1. git checkout -b issue-<issue number> # e.g. issue-602
  5. Make and commit changes
    1. Make changes to files
    2. Stage changes: git add <file you have worked on>
    3. Commit changes: git commit -m ‘Commit message (what you did)’
    4. Upload changes: git push origin issue-<issue number>
  6. On Github make a pull request (PR) from your new branch to the base-branch in PrincetonUniversity/SPECFEMPP
    1. Click on the PR tab on your GitHub fork page
    2. Choose to compare across forks
    3. Choose destination to PrincetonUniversity/SPECFEMPP at base branch
    4. Choose source to be username/issue-#issuenumber
    5. Now, click “Create New Pull request"
    6. You will be prompted to fill out the description about the PR after you which you can confirm PR creation by clicking "Create PR"
  7. The PR will now be reviewed by others and will eventually be merged, or you will be asked for some updates.
  8. While you wait for approval you can restart at 1.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •