Skip to content

Commit c9f5f05

Browse files
committed
Sets merge commit as default when pulling
1 parent 963207c commit c9f5f05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ch02git/05Collaboration.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@
512512
"cell_type": "markdown",
513513
"metadata": {},
514514
"source": [
515-
"Do as it suggests:"
515+
"Do as it suggests. However, we need first to tell git how we want it to act when there are diverging branches (as in this case). We will set the default to be to create a merge commit, then we proceed to `pull`."
516516
]
517517
},
518518
{
@@ -547,6 +547,7 @@
547547
],
548548
"source": [
549549
"%%bash\n",
550+
"git config --global pull.rebase false\n",
550551
"git pull"
551552
]
552553
},

0 commit comments

Comments
 (0)