<div dir="ltr"><div><div>Thanks a lot James! :)<br><br></div>Best regards,<br></div>Amanda<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 6, 2016 at 1:45 AM, James Aylett <span dir="ltr"><<a href="mailto:james-xapian@tartarus.org" target="_blank">james-xapian@tartarus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Jun 05, 2016 at 04:09:34PM +0530, Amanda Jayanetti wrote:<br>
<br>
> Using git rebase-i only the commits that were pushed via a local repository<br>
> can be squashed. Could you kindly tell me if there's a way to squash<br>
> commits that were made directly via the git hub web interface?<br>
<br>
</span>The best way of thinking of this is that changes via the github web<br>
interface are like changes someone else made to the remote repository,<br>
and which you want to incorporate into your local branch (which is<br>
what you operate on using `git rebase -i`).<br>
<br>
I've written an article to try to explain remotes, branches and how to<br>
incorporate changes from remotes into a local branch:<br>
<br>
<a href="https://tartarus.org/james/diary/2016/06/05/git-remotes" rel="noreferrer" target="_blank">https://tartarus.org/james/diary/2016/06/05/git-remotes</a><br>
<br>
You can ignore the stuff about `git merge`, which you don't want to<br>
use here. Hopefully this will make it more clear what's going on!<br>
<div class="HOEnZb"><div class="h5"><br>
J<br>
<br>
--<br>
James Aylett, occasional trouble-maker<br>
<a href="http://xapian.org" rel="noreferrer" target="_blank">xapian.org</a><br>
<br>
</div></div></blockquote></div><br></div>