Skip to content

Commit 3b732a6

Browse files
authored
Merge pull request #142 from ImperialCollegeLondon/use_informative_link_phrases
Use more informative link text for git alias links
2 parents 035699e + 491f56e commit 3b732a6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

episodes/02-branching_merging.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,16 @@ them and how to merge changes from different branches.
126126

127127
## A useful alias
128128

129-
We will now define an *alias* in Git, to be able to nicely visualise branch
130-
structure in the terminal without having to remember a long Git command
131-
(more details about what aliases are can be found
132-
[here](https://linuxize.com/post/how-to-create-bash-aliases/) and the full <!-- markdown-link-check-disable-line -->
133-
docs on how to set them up in Git are
134-
[here](https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases)):
129+
We will now define an [*alias* in Git](https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases),
130+
to be able to nicely visualise branch structure in the terminal without having to
131+
remember a long Git command:
135132

136133
```bash
137134
git config --global alias.graph "log --all --graph --decorate --oneline"
138135
```
139136

137+
We can now abbreviate `log --all --graph --decorate --oneline` with the alias `graph`.
138+
140139
::::::::::::::::::::::::::::::::::::::::::::::::::
141140

142141
## Creating and Working with Branches

0 commit comments

Comments
 (0)