-
Notifications
You must be signed in to change notification settings - Fork 10
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
Open Git Hub Questions from Data Extraction Team #345
Comments
@MightyNerdEric and @ModeSevenIndustrialSolutions - can you please provide your recommendations re: questions 1, 2, and 4? @DaBeIDS, re: #3 -@MichaelTiemannOSC updated permissions to correct a more global problem where some project members were not defaulting to read only. Tobias was likely caught in that update. I will create a new issue to give him write access. |
The proper way to do this will depend on how you are doing releases/versioning, but I think the proper way to do it where it will be picked up by both main and develop is to open a PR to main (which will give you the merge commit), and then either open a PR into develop from main (which will maintain all merge history, and just end up with some redundant merge commits when it's merged back into main), or manually rebase develop from main and force-push it. The latter would be the cleanest solution, but is not very appropriate for a distributed codebase (this is the kind of thing I might do to bring in an important fix to a feature branch I'm in the middle of working on; if you're doing most of your coding from/merging into develop, opening a PR to get the latest code from main would be the safest way to get it updated.
|
I think we could do this the easy way, maintaining only one stable branch, the
At this point, I know that I have the
If
This way, I have the With GitHub, branches are not needed. I simply "fork" the project into my own. Commit to the In essence, this procedure worked for decades, back to the old CVS/SVN days. We probably don't need a A branch exists for the purpose of being merged. Branches are not to be deleted, unless its purpose/requirements/specs are recalled. |
Dear all, |
Github Questions:
$ git checkout master
Switched to branch 'master'
$ git merge --no-ff hotfix-1.2.1
Merge made by recursive.
(Summary of changes)
$ git tag -a 1.2.1
And then
$ git checkout develop
Switched to branch 'develop'
$ git merge --no-ff hotfix-1.2.1
Merge made by recursive.
(Summary of changes)
But afterwards the status of develop looks like this:
I guess the 1 ahead is the merge of hotfix to develop and the behind is the one hotfix to main. My idea would be to actually not do that but to do the following:
MY APPROACH:
git checkout main
git merge --signoff --no-ff hotfix
git tag -a 0.2
git push
git checkout develop
git merge --ff-only main
git push
Then develop and main are up-to-date. Is that procedure ok? Or can somebody explain or give a link how to do that correctly?
Is there an easy way to add a CI layer to our repository [corporate_data_extraction]?
Has somebody changed the repo? Tobias has no access to his branch anymore.
Is there a way to prevent that people merge to main branch and also that pull-requests have to be combined with issues so that one always has a documentation?
The text was updated successfully, but these errors were encountered: