Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: Question regarding git fetch

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:19

Jeff King [off-list ref] writes:
  # we usually fetch the remote's master straight into our production
  # branch for deployment
  $ git config remote.origin.fetch refs/heads/master:refs/heads/production

  # but today let's demo it first
  $ git fetch origin master:demo
I think this is a good example that any change results from this
discussion should apply _only_ to cases where command line refspecs lack
colon (i.e. used to mean "do not store this anywhere but in FETCH_HEAD").
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help