As you can see I'm a beginner and I have messed up.
$ git log
commit 1b33ea845ab32112dd36b835e54f136d3b8b8dbb (HEAD -> master, upstream/master, version1)
Author: Dhruv Gami <>
Date: Wed Feb 5 14:55:00 2020 -0600
Added Project modifications for units
(cherry picked from commit b7b34e1b645dd43fcc78a7f2e639fa654d2f82fc)
commit 23c39347ba985969420bd7f5236efe43fdea1be7
Author: Dhruv Gami <>
Date: Mon Feb 3 17:28:56 2020 -0600
Changed num to label to write aux file
(cherry picked from commit b7b34e1b645dd43fcc78a7f2e639fa654d2f82fc)
commit c5e8bf7bca100fb9f63eea6c7163072527357cd8
Author: Dhruv Gami <>
Date: Fri Jan 31 14:22:11 2020 -0600
Added output_date to download file to correct folder at the end of month
(cherry picked from commit b7b34e1b645dd43fcc78a7f2e639fa654d2f82fc)
commit b7b34e1b645dd43fcc78a7f2e639fa654d2f82fc (origin/master, origin/HEAD)
Author: rip1217 <1000rip@noreply.com>
Date: Mon Jan 27 10:44:28 2020 -0600
Maintenance code addition
I have got this in my log and I would like to undo the last 3 changes in upstream and get back to commit b7b34e1b645dd43fcc78a7f2e639fa654d2f82fc (origin/master, origin/HEAD)
. Basically, start over again from Maintenance code addition in upstream repository. It is Ok if there is no way but to lose changes locally to revert to original in upstream. The changes are in python files if that information is required.
Thanks for your help!