asteroids-advanced
asteroids-advanced copied to clipboard
This is a git flow based project
We're not using the full weight of true git flow
but we are using a light version of it.
The number one rule of git flow
is:
Master branch should be production ready at all times
This. means you will not be allowed to make a pull request against master.
The secondary rule of git flow is:
You may not break the
development
branch.
If your code causes a crash, it will not be accepted.
So, how do I git flow
then?
It's actually pretty easy.
-
$ git clone [email protected]:CodingRainbow/asteroids-advanced.git
-
$ cd asteroids-advanced
-
$ git checkout -b feature/name-of-your-feature
- Work in your feature branch until you're done.
- Stage your working files and commit them with a short message
- Push your changes up to the repo
- Create a new pull request against
development
- @shiffman, myself, and/or another member of the organization will look over it, and either accept it, or reject it with helpful criticism as to how to get it accepted.
- Lather. Rinse. Repeat.
ONE LAST THING:
To make sure you've ready this, please comment with your favorite coding related gif below. If there's no comment from you, then your pull will not be accepted.
now
it's time
to
I'm ready!
\o/
So where does gh-pages factor into this? Does it track development or master?
Also, you squashed the history into one commit on master/development, which seems like a questionable idea as now the histories are not the same between gh-pages & these two.
gh-pages is the github pages branch, aka https://codingrainbow.github.io/asteroids-advanced/ is that branch.
Also he probably squashed it to fully seperate it from the old repo (thats my best guess)
@meiamsome @WolfGaming Please see #19
gh-pages
is now no longer a branch. Static content is now hosted from the docs
directory.