<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Tobias,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">the easiest and most reliable fix is to clone the repository into a new folder, run Utilities/SetupForDevelopment.sh, then copy there changed files from your old (partially corrupted) repository.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default"><font face="verdana, sans-serif">Dženan Zukić, PhD, Senior R&D Engineer, Kitware (Carrboro, N.C.)</font><br></div></div>
</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 10, 2017 at 4:12 PM, Wood, Tobias <span dir="ltr"><<a href="mailto:tobias.wood@kcl.ac.uk" target="_blank">tobias.wood@kcl.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
As part of my attempt to get my Bruker updates pushed I ran Utilities/SetupForDevelopment.<wbr>sh. Unfortunately, I don’t think it’s worked quite correctly, perhaps because I made one other contribution a long time ago (I don’t remember having to run this script before) and so had a partially complete profile?<br>
<br>
I have a couple of issues:<br>
1) git now reports that the following files in Utilities/<wbr>DevelopmentSetupScripts/ are new untracked file:<br>
Utilities/<wbr>DevelopmentSetupScripts/.<wbr>gitattributes<br>
Utilities/<wbr>DevelopmentSetupScripts/.<wbr>gitignore<br>
Utilities/<wbr>DevelopmentSetupScripts/<wbr>LICENSE<br>
Utilities/<wbr>DevelopmentSetupScripts/NOTICE<br>
Utilities/<wbr>DevelopmentSetupScripts/<wbr>commit-msg<br>
Utilities/<wbr>DevelopmentSetupScripts/<wbr>gerrit/<br>
Utilities/<wbr>DevelopmentSetupScripts/hooks-<wbr>config.bash<br>
Utilities/<wbr>DevelopmentSetupScripts/post-<wbr>commit<br>
Utilities/<wbr>DevelopmentSetupScripts/pre-<wbr>commit<br>
Utilities/<wbr>DevelopmentSetupScripts/pre-<wbr>push<br>
Utilities/<wbr>DevelopmentSetupScripts/<wbr>prepare-commit-msg<br>
The only entry in the .gitignore is “*.sample”, which doesn’t cover these but for some reason I don’t understand the scripts don’t show up. I assume I shouldn’t commit these files to my feature branch?!<br>
2) git gerrit-push doesn’t work. I can manually run Utilities/Git/git-gerrit-push but no git alias seems to have been created. Re-running Utilities/<wbr>DevelopmentSetupScripts/<wbr>SetupGitAliases.sh doesn’t do anything.<br>
3) I *think* I had to manually create the <a href="http://review.source.kitware.com" rel="noreferrer" target="_blank">review.source.kitware.com</a> remotes. Sorry, I was doing this late at the weekend and lost track.<br>
<br>
Any help repairing my repo to work smoothly with gerrit is much appreciated,<br>
Toby<br>
<br>
______________________________<wbr>_________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
</blockquote></div><br></div>