-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- As discussed in chat (but not yet agreed) - Ran the command `sed -i -E 's/<([0-9a-zA-Z_-]+)>/\U\1/g' content/*.md` but also checked each with "meld" and removed cases that shouldn't be changed (like git command outputs) - If git command hints use `<var>` maybe that's a reason to not change? - Also changed some cases which weren't in angle brackets yet. - Time taken: about 5 minutes. - Review - There's a real chocie here: is this a good idea or not? I'm not sure, I've done this to see how hard it would be, not because it should be done. - Advantages: perhaps more clear what should be replaced and that `<>` are not part of the syntax? Upper case easier to scan and see? - Disadvanages: unclear what is a replacement and what is not? (I didn't see any places that wolud be the case.) Different than what others use? - The biggest disadvantage is that `HEAD` is actually a literal that is used in git... which *is* ambiguous.
- Loading branch information
Showing
7 changed files
with
51 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,10 +147,10 @@ We now want to try the second option that GitHub suggests: | |
1. Now go to your guacamole repository on your computer. | ||
2. Check that you are in the right place with `git status`. | ||
3. Copy paste the three lines to the terminal and execute those, in my case (**you | ||
need to replace the "user" part and possibly also the repository name**): | ||
need to replace the "USER" part and possibly also the repository name**): | ||
|
||
```console | ||
$ git remote add origin [email protected]:user/recipe.git | ||
$ git remote add origin [email protected]:USER/recipe.git | ||
$ git branch -M main | ||
$ git push -u origin main | ||
``` | ||
|
@@ -167,7 +167,7 @@ Enumerating objects: 3, done. | |
Counting objects: 100% (3/3), done. | ||
Writing objects: 100% (3/3), 221 bytes | 221.00 KiB/s, done. | ||
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 | ||
To github.com:user/recipe.git | ||
To github.com:USER/recipe.git | ||
* [new branch] main -> main | ||
Branch 'main' set up to track remote branch 'main' from 'origin'. | ||
``` | ||
|
@@ -177,7 +177,7 @@ Branch 'main' set up to track remote branch 'main' from 'origin'. | |
```{exercise} Push-1: Push your guacamole recipe to GitHub | ||
- Go to your recipe directory on your computer. | ||
- Check that you are in the right place with `git status`. | ||
- Define the remote with `git remote add origin [email protected]:user/recipe.git`. | ||
- Define the remote with `git remote add origin [email protected]:USER/recipe.git`. | ||
- Rename the current branch to "main", if needed: `git branch -M main`. | ||
- Push the local branch "main" to the remote: `git push -u origin main`. | ||
``` | ||
|
@@ -199,14 +199,14 @@ At this point only a brief demo - if you copy the SSH or HTTPS address, you can | |
(again adapt the "namespace/repository.git" part): | ||
|
||
```console | ||
$ git clone [email protected]:user/recipe.git | ||
$ git clone [email protected]:USER/recipe.git | ||
``` | ||
|
||
This creates a directory called "recipe" unless it already exists. You can also specify the target directory | ||
on your computer: | ||
|
||
```console | ||
$ git clone [email protected]:user/recipe.git myrecipe | ||
$ git clone [email protected]:USER/recipe.git myrecipe | ||
``` | ||
|
||
What just happened? **Think of cloning as downloading the `.git` part to your | ||
|