madcapnmckay
madcapnmckay

Reputation: 15984

Collaborating remotely on major versions in github

I am still relatively new to git, have only used basic features. I have a project on github that is fairly popular that I am in the process of rewriting. I've been offered help from others in the community but I would like to avoid pushing my breaking changes as I do them to the original branch. I can have a local dev branch but that isn't visible to people on github.

What would the best practice be in this scenario? Fork the original repo on github, work on the fork then merge into the original? Effectively using the fork as a branch.

Any advice appreciated.

Upvotes: 0

Views: 41

Answers (1)

Roger
Roger

Reputation: 302

I think you should create your own development branch which can be pushed to github. Forking is great but I think it works best when you have a team of committers and you want to be sure that you are getting code reviews in etc. before merging into master. Since you are the owner of this project, unless you are looking for some of that process, I would suggest creating a feature branch and working off that.

Upvotes: 3

Related Questions