I would appreciate anybody who knows sharing how to perform a multiple pushes with GIT.
I have some low level patches I want to push. Patching my local repository is straightforward with find and sed.
The trick thereafter is diiscovering which modules were changed, creating a commit message for each individual module, and then pushing each individual module.
My understanding is that each module must be pushed individually. Also each module push requires typing a password.
There are 117 modules (packages) in TDE. Doing this manually I foresee myself missing or overlooking a few modules.
My only solution thus far is to write a script that can recurse through my local repository, but even that seems like a lot of work because of all the error checking that should occur.
Is there a simpler way?
Thanks!
Darrell
On 21 March 2012 16:28, Darrell Anderson humanreadable@yahoo.com wrote:
I would appreciate anybody who knows sharing how to perform a multiple pushes with GIT.
I have some low level patches I want to push. Patching my local repository is straightforward with find and sed.
The trick thereafter is diiscovering which modules were changed, creating a commit message for each individual module, and then pushing each individual module.
My understanding is that each module must be pushed individually. Also each module push requires typing a password.
There are 117 modules (packages) in TDE. Doing this manually I foresee myself missing or overlooking a few modules.
Did you try the trick with gitaskpass?
Create a file that contains:
echo "mygitpass"
Then chmod it,
chmod +x mypassfile
then export it,
export GIT_ASKPASS="location/of/pass/file"
that should let it not bother you anymore.
If you want to automatically add it to your bash session, add that export line into your bashrc.
Calvin.
Did you try the trick with gitaskpass?
Create a file that contains:
echo "mygitpass"
Then chmod it,
chmod +x mypassfile
then export it,
export GIT_ASKPASS="location/of/pass/file"
that should let it not bother you anymore.
If you want to automatically add it to your bash session, add that export line into your bashrc.
Thanks for reminding me about that. :) I had that fix in my script to sync my local repository. I now have adapted that to general usage too. One less irritant.
Still need help with creating commit messages in bulk and pushing modules in bulk.
Darrell