Skip to content

Commit

Permalink
🐛 Reset git merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed Nov 8, 2021
1 parent 300f122 commit bf18e03
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 20 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
pip install -r requirements.txt
- name: Build latest documentation
shell: bash
run: ./build_docs.sh
run: |
git config --global pull.rebase false
./build_docs.sh
- name: Deploy documentation to GitHub Pages
uses: JamesIves/github-pages-deploy-action@5dc1d5a192aeb5ab5b7d5a77b7d36aea4a7f5c92 # This is version 4.1.4
with:
Expand Down
6 changes: 3 additions & 3 deletions module04_version_control_with_git/04_07_branches.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -764,11 +764,11 @@
"source": [
"## A good branch strategy\n",
"\n",
"* A `production` branch: code used for active work\n",
"* A `develop` branch: for general new code\n",
"* A `production` or `main` branch: the current working version of your code\n",
"* A `develop` branch: where new code can be tested\n",
"* `feature` branches: for specific new ideas\n",
"* `release` branches: when you share code with others\n",
" * Useful for isolated bug fixes"
" * Useful for applying bug fixes to older versions of your code"
]
},
{
Expand Down
57 changes: 41 additions & 16 deletions module04_version_control_with_git/04_08_git_stash.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,35 @@
"os.chdir(working_dir)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Remind ourselves which branch we are using:"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"* main 7444bd0 [local_bare/main] Add Whernside\n"
]
}
],
"source": [
"%%bash\n",
"git branch -vv"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
Expand All @@ -60,7 +85,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -78,7 +103,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 5,
"metadata": {},
"outputs": [
{
Expand All @@ -103,7 +128,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -222,7 +247,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand All @@ -247,7 +272,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 8,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -282,7 +307,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 9,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -325,7 +350,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand All @@ -343,7 +368,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 11,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -376,7 +401,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 12,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -422,7 +447,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 13,
"metadata": {},
"outputs": [
{
Expand All @@ -443,7 +468,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 14,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -581,7 +606,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 15,
"metadata": {},
"outputs": [
{
Expand All @@ -606,7 +631,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 16,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -636,7 +661,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -645,7 +670,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 18,
"metadata": {
"attributes": {
"classes": [
Expand Down Expand Up @@ -705,7 +730,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 19,
"metadata": {},
"outputs": [
{
Expand Down

0 comments on commit bf18e03

Please sign in to comment.