
Bugzilla exe Patch#
If your patch contains renames, then you have to use the bzr bundle command to produce your patch. If Your Patch Contains Renames: bzr bundle Then you can upload "patch.diff" as your patch. The simplest way to make a patch from your current bzr checkout is like this:Īnd that's it. If you checked Bugzilla out of bzr, then you can make patches using bzr. Info, including details on standard git work flows.
Bugzilla exe pro#
Tutorial, but see the chapter in Pro Git on Have been done upstream to your base branch by other developers-orĮven by yourself in another branch.
Bugzilla exe update#
You can even "rebase" your local branch to update it with changes that This will produce aĭiff of all changes you committed since you branched upload Replace base_branch by the name of the branch off of which your Once you have completed your work, make sure all your changes are Even if you have commit permissions and will be pushing yourĬhanges to the main git repository yourself, you can still squashĬommits together later via git rebase before merging into the

Because git branches are cheap and easy to throwĪway, you don't need to be careful about crafting one tidyĬommit. Particularly if you are doing the same fix to multiple branches.Īt this point, you can add, modify, and remove files and commit as often as you like. You might want to include the base branch name as well, Replace branch_name by something descriptive, e.g. Create and switch to a new, local branch by running Things the typical git way, you’re going to want to create localĪfter cloning, change to the branch you want to base your work

Work on more than one patch at a time, or if you just want to do If you are intending to do any complicated changes, or if you want to The Better Way: Local development branches You can then upload "patch.diff" as your patch. Recording changes to the git repository for more details. You’ll have to add -cached to the git diff command. Tell git about any other changes you want to commit as well. "staged" changes to be committed (added your new files), you have to You’ll also have to run git add on any modified files and If you want new files included in your patch, Really wanted to add them or if they are just left over from somethingĮlse, e.g. This will not catch any new files, since git doesn’t know if you

If you’ve only modified or removed existing files, then this is all you need: Only be used if you’re making simple modifications to a couple files Modifications and use git diff in that branch. The simplest way to generate a diff is to just make local The Simple Way: Local uncommitted changesĪfter cloning the Bugzilla repo and switching to your desired branch, The following sections outline some simple workflows for furtherĭetails, see the Pro Git book or any of the numerous tutorials and Git is very powerful, but anything beyond simple use is greatly aidedīy an understanding of the whole system. This is the preferred way of making patches. Basic usage is very similar to bzr, but there are differentĬoncepts and workflows. We are transitioning to git for our sourceĬontrol. 2.2 If Your Patch Contains Renames: bzr bundle.

1.2 The Better Way: Local development branches.1.1 The Simple Way: Local uncommitted changes.
