Help: git reset to certain commit

89 views
Skip to first unread message

jesse....@gmail.com

unread,
Apr 15, 2013, 12:27:18 AM4/15/13
to git...@googlegroups.com
$ git log --oneline --graph
 

*   3c640b1 Merge branch 'working-branch' into master

|\

| * cf8ac37 5.txt

| * 0c01d19 3.txt

| * b732c5f 2.txt

| * e6c5a8f 1.txt

* | 967ba7c 1.txt --> upload

|/

* 78e188c Support

* 6b6ad8b inport

* d9b7bc8 Created
 
 
I need to git reset to 967ba7c, (this id maybe change for some reason, but 78e188c is fixed.)
Is there any solution that I can git reset to the COMMIT which is after 78e188c ?
Maybe like this: git reset 78e188c~-1, then it will reset to 967ba7c.
 
thx for your kindly help...
 
/Jesse
Reply all
Reply to author
Forward
Message has been deleted
0 new messages