Void Linux discussion
 help / color / mirror / Atom feed
* howto to sqash files only on remote repo ?
@ 2015-09-17  7:21 Pierre Bourgin
  2015-09-19  0:29 ` Pierre Bourgin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Pierre Bourgin @ 2015-09-17  7:21 UTC (permalink / raw)
  To: voidlinux


[-- Attachment #1.1: Type: text/plain, Size: 826 bytes --]

Hello there,

I'm newbie with git. 
I try to pull requests to void-packages (offer new packages) in a nice way 
for the rewiever, ie with only one changeset.

So I carefully read the usefull doc of PullMoll about git :
https://github.com/voidlinux/documentation/wiki/How-to-use-git,-by-@pullmoll

My question: Is there a chance to keep the distinct commits (several) in my 
local repo, but combine them into a single changeset in my remote github 
repo ("origin") ?

I used "git rebase -i" on my local repo (squash) then push to remote.
So remote repo will contains a single changeset as expected ...
And there is only ONE changeset too in my local repo, since the "rebase" 
happens on my local repo first.

I've read various doc, but did not find anyhting like "git push --rebase" 
for instance.

Any clue ?

Thanks - Pierre

[-- Attachment #1.2: Type: text/html, Size: 947 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-19 19:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-17  7:21 howto to sqash files only on remote repo ? Pierre Bourgin
2015-09-19  0:29 ` Pierre Bourgin
2015-09-19  2:41 ` Steve Prybylx
2015-09-19  3:19 ` Steve Prybylx
2015-09-19 19:40 ` Stefan Mühlinghaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).