git reset --hard b23fc9455481f3c3040271a2f1e3bca7933ea635
git push -f
======================================================
git reset --hard head (commit id)
git push -f
=============================================
mobigesture@sree MINGW64 /d/turkish IBT/vh_ewt/IBT (Attaching_vh_ewt)
$ git log
commit c37bcbafc206c7269c01400a938d25ca2de7916d
Author: srinivas <srinivas.panaganti@mobigesture.com>
Date: Tue Jul 12 16:02:35 2016 +0530
VH_EWT added in GVP and AVPIDriver
commit b23fc9455481f3c3040271a2f1e3bca7933ea635
Author: srinivas <srinivas.panaganti@mobigesture.com>
Date: Tue Jul 12 11:54:59 2016 +0530
Attached VH_EWT
=================================================================
mobigesture@sree MINGW64 /d/turkish IBT/vh_ewt/IBT (Attaching_vh_ewt)
$ git reset --hard b23fc9455481f3c3040271a2f1e3bca7933ea635
HEAD is now at b23fc94 Attached VH_EWT
mobigesture@sree MINGW64 /d/turkish IBT/vh_ewt/IBT (Attaching_vh_ewt)
$ git push -f
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/VHT/IBT.git
+ c37bcba...b23fc94 Attaching_vh_ewt -> Attaching_vh_ewt (forced update)
==============================================================
No comments:
Post a Comment