[IPython-User] Fwd: [IPython-dev] Force-pushed
Tue Jan 17 20:51:52 CST 2012
Forwarding to IPython user where some may also be following git master.
---------- Forwarded message ----------
From: MinRK <email@example.com>
Date: Tue, Jan 17, 2012 at 6:48 PM
Subject: [IPython-dev] Force-pushed
To: IPython Development list <firstname.lastname@example.org>
A bad commit snuck into IPython master that had to be removed,
requiring a rebase and force push. So if you have been tracking
IPython master, your next update may require something more forceful
than `git pull`. If your git pull fails, the two-step 'force pull'
git fetch origin
git reset origin/master --hard
assuming you have the IPython repo stored as 'origin', change as appropriate.
PRs issued since the bad commit (on 01/12) will need to be rebased as
well. Since the HEAD of code is unchanged, this should be
git rebase -i
and delete all the commits that aren't yours, then force push (`git
push -f` and you should be set. I just did mine (#1283), and the only
erroneous commits listed were:
pick 813d390 Initial work to add Wijmo based menu.
pick e075f09 Removing old directory.
(The troublesome commit and its fix, which were squashed together)
I removed these, pushed my rebased branch, and now my PR looks clean as can be.
PRs that need a rebase:
https://github.com/ipython/ipython/pull/1284 (Paul Ivanov)
https://github.com/ipython/ipython/pull/1261 (Brian - apparently
already merged, but no merge commit?)
IPython-dev mailing list
More information about the IPython-User