Repository navigation
git commands for contribution #9168
|
where should i check for the what git command i should use for the contribution and to maintain the repo |
Answered by
sid-bruno
Sep 4, 2026
Replies: 2 comments 2 replies
|
For Git contribution and repo maintenance, first check README.md and CONTRIBUTING.md for project rules . Use git status to check changes , git branch -a for branches , git remote -v for the remote repo , and git log for history . Usually , create a branch, make changes, then git add, git commit , and git push , followed by a pull request on github. |
0 replies
|
That's i know but is there any rules to use specific git commands like pull or git fetch,merge and rebase. To maintain the repo |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If i've understood the question correctly you'd like to help contribute and would like to know the git workflow for it.
You can fork
usebruno/brunofirst to your account over github, post that you are free to make and work with your branches as you wish.Rules / Notes for raising PRs can be read from the contributing.md file.
git fetchandgit pullare 2 different things, if the question was how do I keep my fork in sync to the repository, you can just use the Github UI to do that for you or do a simple pull and rebase on your base branch (A quick search will help you)We squash our PR's so you don't have to worry about your commits being too granular or too large, we'd recommend keeping …