diff --git a/html_output/2026-01-15_km.html b/html_output/2026-01-15_km.html index afd3e66..daf8b09 100644 --- a/html_output/2026-01-15_km.html +++ b/html_output/2026-01-15_km.html @@ -31,10 +31,9 @@ Use this when you are creating and working on your own projects.

 branch

Branches are parallel dossiers: safe space for changes.

Edit the page

Edit the root index.html (and optionally add style.css, assets/).

Make a visible change first:

Then check changes:

git diff
 git status

Stage & commit your changes

git add index.html
 git commit -m "Customize profile page for <your-slug>"

If you added assets:

git add assets/
-git commit -m "Add assets for <your-slug>"

Small commits win. One change = one deposit.

Push your banch

Push your commits to the server, defining a remote branch to track. This is called setting the upstream.

git push -u origin braids/<your-slug>

(Again, change <your-slug>!)

The first time you checkout from https://git.hackersanddesigners.nl the server will ask you for credentials. These will be remembered, so only once. -This pushes your branch to the 'origin' server.

From then on, unless the remote/branch is named, git push will go in that direction.

git push

disabled push rights for now, only for demonstration purposes, will fail

View ive!

Open the gallery:

Find your card:

Iterate:

edit -> status -> add -> commit -> push -> refresh

Common problems (fast fixes)

Wrong branch:

git branch
+git commit -m "Add assets for <your-slug>"

Small commits win. One change = one deposit.

Push your banch

Push your commits to the server, defining a remote branch to track. This is called setting the upstream.

git push -u origin braids/<your-slug>

(Again, change <your-slug>!)

This pushes your branch to the 'origin' server.

The first time you push to https://git.hackersanddesigners.nl the server will ask you for credentials. These will be remembered, so only once.

From then on, unless the remote/branch is named, git push will go in that direction.

git push

disabled push rights for now, only for demonstration purposes, will fail

View live!

Open the gallery:

Find your card:

Iterate:

edit -> status -> add -> commit -> push -> refresh

Common problems (fast fixes)

Wrong branch:

git branch
 git checkout braids/<your-slug>

Nothing staged:

git status
-git add index.html

Push rejected (main protected):

Auth issues:

Suggested “good enough” commit messages

Bad:

Better:

Rule: message should still make sense in 6 months.

Optional: git pull

Title underline too short.

Optional: git pull
+git add index.html

Push rejected (main protected):

Auth issues:

Suggested “good enough” commit messages

Bad:

Better:

Rule: message should still make sense in 6 months.

Optional: git pull

Title underline too short.

Optional: git pull
 =================

If you want to collaborate with others on the same branch, pull updates from server:

git pull

During the exercise you mostly push your branch. -Pull is mainly for getting new changes on main (if needed).

fact: git pull is actually a git fetch && git merge

Optional: git merge

First, go ahead and git fetch --all branches from the remote git repository, so you have them locally.

Then git branch to see the available branches.

Check some of them out with git checkout braids/<branch_name>.

See something you like? Merge with them.

git checkout braids/<your-slug>
-git merge braids/<chosen_branch>

Consolidate any merge conflicts manually if you have to. Then, stage, commit and push your changes to your branch.

Optional extension (if time remains)

Wrap-up

Learn more:

End: remind participants their branches will be removed after the workshop.

\ No newline at end of file +Pull is mainly for getting new changes on main (if needed).

fact: git pull is actually a git fetch && git merge

Optional: git merge

First, go ahead and git fetch --all branches from the remote git repository, so you have them locally.

Then git branch to see the available branches.

Check some of them out with git checkout braids/<branch_name>.

See something you like? Merge with them.

git checkout braids/<your-slug>
+git merge braids/<chosen_branch>

Consolidate any merge conflicts manually if you have to. Then, stage, commit and push your changes to your branch.

Optional extension (if time remains)

Wrap-up

Learn more:

End: remind participants their branches will be removed after the workshop.

\ No newline at end of file diff --git a/html_output/index.html b/html_output/index.html index afd3e66..daf8b09 100644 --- a/html_output/index.html +++ b/html_output/index.html @@ -31,10 +31,9 @@ Use this when you are creating and working on your own projects.

 branch

Branches are parallel dossiers: safe space for changes.

Edit the page

Edit the root index.html (and optionally add style.css, assets/).

Make a visible change first:

Then check changes:

git diff
 git status

Stage & commit your changes

git add index.html
 git commit -m "Customize profile page for <your-slug>"

If you added assets:

git add assets/
-git commit -m "Add assets for <your-slug>"

Small commits win. One change = one deposit.

Push your banch

Push your commits to the server, defining a remote branch to track. This is called setting the upstream.

git push -u origin braids/<your-slug>

(Again, change <your-slug>!)

The first time you checkout from https://git.hackersanddesigners.nl the server will ask you for credentials. These will be remembered, so only once. -This pushes your branch to the 'origin' server.

From then on, unless the remote/branch is named, git push will go in that direction.

git push

disabled push rights for now, only for demonstration purposes, will fail

View ive!

Open the gallery:

Find your card:

Iterate:

edit -> status -> add -> commit -> push -> refresh

Common problems (fast fixes)

Wrong branch:

git branch
+git commit -m "Add assets for <your-slug>"

Small commits win. One change = one deposit.

Push your banch

Push your commits to the server, defining a remote branch to track. This is called setting the upstream.

git push -u origin braids/<your-slug>

(Again, change <your-slug>!)

This pushes your branch to the 'origin' server.

The first time you push to https://git.hackersanddesigners.nl the server will ask you for credentials. These will be remembered, so only once.

From then on, unless the remote/branch is named, git push will go in that direction.

git push

disabled push rights for now, only for demonstration purposes, will fail

View live!

Open the gallery:

Find your card:

Iterate:

edit -> status -> add -> commit -> push -> refresh

Common problems (fast fixes)

Wrong branch:

git branch
 git checkout braids/<your-slug>

Nothing staged:

git status
-git add index.html

Push rejected (main protected):

Auth issues:

Suggested “good enough” commit messages

Bad:

Better:

Rule: message should still make sense in 6 months.

Optional: git pull

Title underline too short.

Optional: git pull
+git add index.html

Push rejected (main protected):

Auth issues:

Suggested “good enough” commit messages

Bad:

Better:

Rule: message should still make sense in 6 months.

Optional: git pull

Title underline too short.

Optional: git pull
 =================

If you want to collaborate with others on the same branch, pull updates from server:

git pull

During the exercise you mostly push your branch. -Pull is mainly for getting new changes on main (if needed).

fact: git pull is actually a git fetch && git merge

Optional: git merge

First, go ahead and git fetch --all branches from the remote git repository, so you have them locally.

Then git branch to see the available branches.

Check some of them out with git checkout braids/<branch_name>.

See something you like? Merge with them.

git checkout braids/<your-slug>
-git merge braids/<chosen_branch>

Consolidate any merge conflicts manually if you have to. Then, stage, commit and push your changes to your branch.

Optional extension (if time remains)

Wrap-up

Learn more:

End: remind participants their branches will be removed after the workshop.

\ No newline at end of file +Pull is mainly for getting new changes on main (if needed).

fact: git pull is actually a git fetch && git merge

Optional: git merge

First, go ahead and git fetch --all branches from the remote git repository, so you have them locally.

Then git branch to see the available branches.

Check some of them out with git checkout braids/<branch_name>.

See something you like? Merge with them.

git checkout braids/<your-slug>
+git merge braids/<chosen_branch>

Consolidate any merge conflicts manually if you have to. Then, stage, commit and push your changes to your branch.

Optional extension (if time remains)

Wrap-up

Learn more:

End: remind participants their branches will be removed after the workshop.

\ No newline at end of file diff --git a/slides.rst b/slides.rst index 274237c..62d191b 100644 --- a/slides.rst +++ b/slides.rst @@ -714,9 +714,10 @@ Push your commits to the server, defining a remote branch to track. This is call (Again, change !) -The first time you checkout from https://git.hackersanddesigners.nl the server will ask you for credentials. These will be remembered, so only once. This pushes your branch to the 'origin' server. +The first time you push to https://git.hackersanddesigners.nl the server will ask you for credentials. These will be remembered, so only once. + From then on, unless the remote/branch is named, ``git push`` will go in that direction. .. code-block:: bash @@ -728,8 +729,9 @@ From then on, unless the remote/branch is named, ``git push`` will go in that di disabled push rights for now, only for demonstration purposes, will fail +---- -View ive! +View live! ============================ Open the gallery: