GitHub Project Management #3443
Replies: 2 comments 6 replies
-
Did you accidentally post this in the wrong place by any chance? I don't see what this has to do with lazygit. But while you're here, let me just answer this bit:
I strongly advise against that. A detailed commit history is a good thing (if the commits are well-structured and have good commit messages), it can be an invaluable source of information later. |
Beta Was this translation helpful? Give feedback.
-
We follow a similar approach to what you've started doing. We actually use a develop branch instead of main, where we add all our changes, and we only merge into main after extensive testing. We merge fix/feature branches into it only through pull requests. Feature branches are branched out of develop (main in your case) before starting work on the feature, and all changes related to it also go through pull requests. It is important to keep it in sync with the develop branch to avoid big conflicts and to properly adjust to changes made to develop branch while the feature was in development. |
Beta Was this translation helpful? Give feedback.
-
I am trying to make a simple
golang
project in a github repository, and I am not that expert at git and github, I know the basic things though.This is my second big project and the previous one got a lot messy because the size of the project was only about 10MB but the repository size was about 150 MB, just because of the huge commit history.
This time it is not only me coding on that project, a few of my friends are also going to be working on it. (they have pretty similar git experience as me).
We searched around google and found 1 simple strategy for helping with this;
We thought that on github, we can create the
main
branch and for any feature that we want to implement to the project we will make a separate branch on github for it like if we want to integrate database into our project we make afeature/database
branch on github for it.We were thinking we would assign each one of use with different features and we will work on different branches for those and whenever someone get's a task done we will merge that feature into the main branch.
Now the problem are as follow:
main
branch, we only make 1 commit which highlights the work for all the commits done in the feature branchmain
branch.If any one can explain(a little in depth) of how we can manage our project and it's workflow in github, it would mean alot to us, any help is appreciated.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions