all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* best workflow with git ?
@ 2017-06-10 15:04 Jean-Christophe Helary
  2017-06-10 15:23 ` Dmitry Gutov
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jean-Christophe Helary @ 2017-06-10 15:04 UTC (permalink / raw)
  To: emacs-devel

I'm not used to git and I see that I'm not doing the right thing locally. I'd like to know the workflow that would work the best for what I'm doing.

I got the repository from Savannah and each time I want to update it I do a "git pull origin master". If I have worked on some files before that I usually get a message asking me to commit my files otherwise they'd be overwritten. Since I'm not pushing anything to Savannah I feel that committing to the local Master is useless and will only create discrepancies between my repository and Savannah.

What should I do ? Create a branch where I do all my modifications ? And then do a git diff to create a patch that I send here ? When the patch has been applied, what should I do with the branch and the modified files ?

It looks like there is something I'm not getting right and I'd like to know what it is. Thank you in advance.

Jean-Christophe


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

end of thread, other threads:[~2017-06-11  8:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-10 15:04 best workflow with git ? Jean-Christophe Helary
2017-06-10 15:23 ` Dmitry Gutov
2017-06-10 15:40 ` Ingo Lohmar
2017-06-10 17:11 ` Eli Zaretskii
2017-06-10 17:14 ` Alan Third
2017-06-11  8:43 ` Philipp Stephani

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.