On Wed, Nov 12, 2008 at 05:46:08PM -0500, Michael DeHaan wrote:
> Mike McCune wrote:
>> Miroslav Suchý wrote:
>>> Welcome root :)
 
>>> http://miroslav.suchy.cz/spacewalk/gitstat/commit-detail.php?commit=6cdf4423e04ffd66fda796e4946a662a9a03e497
>>>  
>>> 
>>>
>>> and 3 others commits
>>>
>>> Can you please use your real identity for commits? Thx.
>>
>> Anyone have any good tips on how we can change the author on those  
>> commits?
>>
>>
>
> I asked this question previously, with a different reason in mind --  
> attributing patches that didn't get committed with "-m" (which I  
> normally don't do).
>
> Short answer:
>
> git-commit with --ammend can be used to fix the /last/ commit
>
> Want to do more?
>
> Generally it's considered dangerous to muck with the history.  (That's  
> why it's called history)
>
> Did find some things on Google but I wouldn't recommend it:
>
> http://blog.jacius.info/articles/2008/6/22/git-tip-fix-a-mistake-in-a-previous-commit
>
> Basically if you can avoid editing code as root, it becomes easier :)

I vote for leaving it as is, if the code is owned by root we can change
the permissions. Also, let's just do what Michael said avoid editing
code as root.


-- 
jesus m. rodriguez        | [EMAIL PROTECTED]
sr. software engineer     | irc: zeus
rhn satellite & spacewalk | 919.754.4413 (w)
rhce # 805008586930012    | 919.623.0080 (c)
+-------------------------------------------+
|  "Those who cannot learn from history     |
|   are doomed to repeat it."               |
|                       -- George Santayana |
+-------------------------------------------+

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to