Skip to content

Commit

Permalink
refactor(git.md) use <> instead of long [...](...) syntax for pla…
Browse files Browse the repository at this point in the history
…in links
  • Loading branch information
ismailarilik authored and tshepang committed Jul 22, 2023
1 parent 2c85732 commit 214b396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ error: cannot rebase: You have unstaged changes.
error: Please commit or stash them.
```

(See [https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F#_the_three_states](https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F#_the_three_states) for the difference between the two.)
(See <https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F#_the_three_states> for the difference between the two.)

This means you have made changes since the last time you made a commit. To be able to rebase, either
commit your changes, or make a temporary commit called a "stash" to have them still not be commited
Expand All @@ -178,7 +178,7 @@ will prevent the "cannot rebase" error in nearly all cases:
git config --global rebase.autostash true
```

See [https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning](https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning) for more info about stashing.
See <https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning> for more info about stashing.

### I see 'Untracked Files: src/stdarch'?

Expand Down

0 comments on commit 214b396

Please sign in to comment.