<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">yangwei weiyang</b> <span dir="ltr"><<a href="mailto:wei.a.yang@gmail.com">wei.a.yang@gmail.com</a>></span><br>
Date: 2012/2/13<br>Subject: Re: git reset HEAD~1<br>To: Ralf Corsepius <<a href="mailto:ralf.corsepius@rtems.org">ralf.corsepius@rtems.org</a>><br><br><br>Hi , <br>It seems that in my local area the git repository is more slow than the CVS repository for Rtems. Now it is only 3Kb/S using git repository,<br>
anyone encounter this situation?<br><br>WeiYang<br>Best Regards<div class="HOEnZb"><div class="h5"><br><br>
<div class="gmail_quote">2012/2/13 Ralf Corsepius <span dir="ltr"><<a href="mailto:ralf.corsepius@rtems.org" target="_blank">ralf.corsepius@rtems.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
<a href="http://wiki.rtems.org/wiki/index.php/Git" target="_blank">http://wiki.rtems.org/wiki/<u></u>index.php/Git</a><br>
<br>
tells:<br>
<br>
 git reset HEAD-1<br>
<br>
Removes the last 1 (or any other number you put) commit from the current branch. git reset should only be used on local branches that no one else is accessing remotely. This is a very powerful and tricky command; A good description of what it enables to do can be found here<br>


<br>
<br>
Either there is a language barrier causing me to misunderstand this sentence or this sentence doesn't seem right:<br>
<br>
git reset HEAD  ... removes the last commit<br>
git reset HEAD~1 ... remove the last 2 commits<br>
<br>
The human factor had just hit me (I needed to revert my last commit), causing me to exercise this to trip over this.<br>
<br>
Ralf<br>
<br>
<br>
______________________________<u></u>_________________<br>
rtems-devel mailing list<br>
<a href="mailto:rtems-devel@rtems.org" target="_blank">rtems-devel@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-devel" target="_blank">http://www.rtems.org/mailman/<u></u>listinfo/rtems-devel</a><br>
</blockquote></div><br>
</div></div></div><br>