Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit ettiquete #31

Open
samjam48 opened this issue Dec 6, 2019 · 0 comments
Open

Commit ettiquete #31

samjam48 opened this issue Dec 6, 2019 · 0 comments

Comments

@samjam48
Copy link

samjam48 commented Dec 6, 2019

Even Commits
Try and even out the commits (might be hard for reggie). It's good to have a balance of working from different people's computers and having a good level commits each.

Small Commits
Also you should try and make small incremental commits rather than one main feature at a time so it tells a story of each change you made to get to the feature (and makes it much easier to fix any problems in the future)

Reference Issues
Finally, you should reference the github issue each commit relates to.
So lets say you have an issue to write database tests that is issue number #100. A standard commit might be like this.

git commit -m "added test for find all query
relates #100

And then this commit will show up on that issue so you can see all the work done relating to each issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant