salarkhan / git-pear

swap credentials after each commit
3 stars 0 forks source link

Uninstall #3

Closed supertopher closed 10 years ago

supertopher commented 10 years ago

testing will require us to commit often and to want to remove the pieces that are under construction.

We should build the uninstall feature sooner than later to lower the burden of testing

salarkhan commented 10 years ago

Uninstall pear for the computer or for the repo?

repo-wise I'm assuming this would entail:

computer-wise....I have no idea. can a script remove itself from its current location??

salarkhan commented 10 years ago

Ok asked almighty Google and apparently it's just rm filename. Lols, cool.

supertopher commented 10 years ago

i mean blow away the hook and team (also possibly git config --local) so the dir resumes normal git operation

salarkhan commented 10 years ago

gotcha.

so, there are no 'default' settings for git config --local. once you change it, you have no idea what it used to be. so here's what i propose:

whaddya think?

supertopher commented 10 years ago

i like the functionality... we should make an apprentice@devbootcamp.com account with our logo for covert advertising

salarkhan commented 10 years ago

lolol i'm down.

Next time you get a chance, can you check what a newly imaged computer's git config --global settings are? Possibly after brew install git & nothing else?

supertopher commented 10 years ago

i'll check when i'm back in the office on monday