You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typical git development involves the following steps:
Clone the repository you want to change:
git clone repository
Checkout new branch to make your changes on:
git checkout -b my-new-branch
usually the name of the branch should describe its purpose (i.e. add-readme would be a great branch name)
Commit changes locally to your new branch:
git add .
`git commit -m "my really awesome feature"
Push local changes to remote repositry (github):
git push
Make pull request on github:
in the browser, go to github.com and go to the Pull Request tab
Why is this important?
As the software team gets larger, more and more people will contribute to the code. If everyone is pushing to the same main branch at the same time...things can get ugly 🚫 and end up causing problems for all the developers on the project.
Doing development this way, the main branch should always be functional code and also the main starting point for everyone to branch off of.
How to fix this
Let's add the above steps to the new How to contribute section in our README.md:
add above steps to How to contribute section within README
The text was updated successfully, but these errors were encountered:
@An3Dev @BallsAngus @jsakeag@Jtuazon25 I've noticed you guys are just pushing commits directly to main so I've added protections to that branch to stop that 😅
If you want to upload changes to this repo follow the steps above and make a Pull Request, that way we can all review the changes before they happen 👍🏼 💯
Following these steps should also enable us to run CI / CD tests automatically on the Pull Request...which should test the new code you guys write automatically!
How to Contribute
Typical
git
development involves the following steps:git clone
repositorygit checkout -b my-new-branch
add-readme
would be a great branch name)git add .
git push
github.com
and go to thePull Request
tabWhy is this important?
As the software team gets larger, more and more people will contribute to the code. If everyone is pushing to the same
main
branch at the same time...things can get ugly 🚫 and end up causing problems for all the developers on the project.Doing development this way, the
main
branch should always be functional code and also the main starting point for everyone to branch off of.How to fix this
Let's add the above steps to the new
How to contribute
section in ourREADME.md
:How to contribute
section withinREADME
The text was updated successfully, but these errors were encountered: