OWissett / freesasa-rs

A rust crate to interface with the freesasa library for protein surface area calculations
https://crates.io/crates/freesasa-rs
Other
6 stars 1 forks source link

Test issue for you dave #7

Closed OWissett closed 1 year ago

OWissett commented 1 year ago

I thought I would make a little test for you.

So I have made plenty of these issues now, but how do we use them?

When you work on an issue, you should create a new branch.

Open up the repo, then do this

git fetch
git checkout dev
git checkout -b dave/test_issue

This will create a new branch called dave/test_issue. In the future, give the branches a name which makes sense for the issue and prefix it with dave/<some name relating to the issue>.

Then get working on the issue.

Simply just create a file in the src directory, and called it test.rs

Then check git...

git status

Ok, you will see that the file is not being tracked by git, so lets fix that

git add .

This will add all files which aren't being tracked. You could also replace the . with the path to the file you want to track.

Now lets make a commit

git commit -m "some message about what you did... e.g., added file test.rs"

Now we need to push it to the remote, but need to tell it to create a new remote branch so we will use a special push command,

git push -u origin dave/test_issue

We are now done from VScode/terminal.

You now need to open up a pull request, and select dave/test_issue and target dev.

You will need to also set me as the reviewer.

Then write a short description and link it to this issue.

Finally, you should close this issue with a message saying that you did this stuff.

asinineAbbreviations commented 1 year ago

Hey Olly, I did this, no idea if it's worked it's been ages since I've worked w github, especially wrt VS, so hopefully it does??