All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Triangular Workflow: user friendly full implementation
@ 2016-05-26 10:06 Jordan DE GEA
  2016-05-26 11:04 ` Matthieu Moy
                   ` (3 more replies)
  0 siblings, 4 replies; 41+ messages in thread
From: Jordan DE GEA @ 2016-05-26 10:06 UTC (permalink / raw)
  To: git; +Cc: Matthieu Moy, Erwan Mathoniere, Tom Russello, Samuel Groot

We are working on full implementation of triangular workflow feature.
For now, the main options available are: 
	 - branch.<name>.pushRemote
	 - remote.pushDefault
And only setable by hands. 

As it can be difficult to understand, here is what we want to do. 


Context:
	- One main remote repository, e.g. git/git.
	- A remote fork (e.g. a GitHub fork) of git/git, e.g. me/git.
	- A local clone of me/git on the machine

Purposes:
	- the local branch master has to fetch to git/git by default
	- the local branch master has to push to me/git by default

Configuration wanted:
	- Add a remote to git/git e.g. `git remote add ...`
	- Set the fetch remote for branch as default. 

For now, we can do that by setting: 
	- branch.<name>.remote to git/git
	- branch.<name>.pushRemote to me/git
But many options set `branch.<name>.remote`, a suitable solution is to
implement an option for the fetch for example. 


Here is what we want to implement: 

1. 
	a. add the config var: remote.fetchDefault
	b. add the config var: branch.<name>.fetchRemote
	c. add `git fetch --set-default` in order to set remote.fetchDefault
	d. add `git fetch --set-remote` in order to set branch.<name>.fetchRemote
	e. add `git pull --set-default` in order to set remote.fetchDefault
	f. add `git pull --set-remote` in order to set branch.<name>.fetchRemote

2. 
	a. add `git push --set-default` in order to set remote.pushDefault
	b. add `git push --set-remote` in order to set branch.<name>.pushRemote


What's your opinion about this feature ?

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

end of thread, other threads:[~2016-06-13 18:35 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-26 10:06 [RFC] Triangular Workflow: user friendly full implementation Jordan DE GEA
2016-05-26 11:04 ` Matthieu Moy
2016-05-26 18:30 ` Junio C Hamano
2016-05-30  8:46   ` [RFC] Triangular Workflow UI improvement Jordan DE GEA
2016-05-27  7:32 ` [RFC] Triangular Workflow: user friendly full implementation Philip Oakley
2016-05-30  9:07   ` [RFC] Triangular Workflow UI improvments Jordan DE GEA
2016-05-31 12:28     ` [RFC/PATCH] Triangular Workflow UI improvement: Documentation Jordan DE GEA
2016-05-31 14:33       ` Matthieu Moy
2016-06-01  9:32         ` Jordan DE GEA
2016-06-02 12:02         ` Michael Haggerty
2016-06-03  7:25       ` Philip Oakley
2016-06-03  9:52         ` Jordan DE GEA
2016-06-03 11:36           ` Matthieu Moy
2016-06-03 11:53             ` Jordan DE GEA
2016-06-05 21:28             ` Jordan DE GEA
2016-06-06  7:58               ` Matthieu Moy
2016-06-06 16:46                 ` Philip Oakley
2016-06-06 16:54                   ` Matthieu Moy
2016-06-06 19:21                     ` Philip Oakley
2016-06-07  7:03                       ` Matthieu Moy
2016-06-07 20:08                         ` Philip Oakley
2016-06-03 15:46         ` Junio C Hamano
2016-06-03 22:16           ` Philip Oakley
2016-06-06  9:48       ` [RFC/PATCHv2] Documentation: triangular workflow Jordan DE GEA
2016-06-06 19:23         ` Junio C Hamano
2016-06-06 22:21           ` Philip Oakley
2016-06-07  6:58             ` Matthieu Moy
2016-06-07  8:02               ` Jordan DE GEA
2016-06-07  8:38         ` [PATCHv3] " Jordan DE GEA
2016-06-07 19:12           ` Junio C Hamano
2016-06-08  8:37             ` Jordan DE GEA
2016-06-08 13:20             ` Matthieu Moy
2016-06-09 12:35           ` [PATCHv4] " Jordan DE GEA
2016-06-09 17:02             ` Junio C Hamano
2016-06-11 15:58               ` Ramkumar Ramachandra
2016-06-11 19:31                 ` Philip Oakley
2016-06-09 18:19             ` Philip Oakley
2016-06-10 16:47               ` Junio C Hamano
2016-06-11 19:25                 ` Philip Oakley
2016-06-13 18:35                   ` Junio C Hamano
2016-05-30  8:39 ` [RFC] Triangular Workflow UI improvement Jordan DE GEA

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.