From e9929a08a701d80a016e8d52e8b031758f5cd310 Mon Sep 17 00:00:00 2001 From: Dylan <145150333+dmmqz@users.noreply.github.com> Date: Tue, 2 Sep 2025 02:01:27 +0000 Subject: [PATCH] git-stash: update page and add Dutch translation (#17946) --- pages.nl/common/git-stash.md | 36 ++++++++++++++++++++++++++++++++++++ pages/common/git-stash.md | 6 +++--- 2 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 pages.nl/common/git-stash.md diff --git a/pages.nl/common/git-stash.md b/pages.nl/common/git-stash.md new file mode 100644 index 0000000000..c59081da91 --- /dev/null +++ b/pages.nl/common/git-stash.md @@ -0,0 +1,36 @@ +# git stash + +> Sla lokale Git-wijzigingen op in een tijdelijke locatie. +> Meer informatie: . + +- Sla huidige veranderingen op met een bericht, behalve nieuwe (niet-bijgehouden) bestanden: + +`git stash push {{[-m|--message]}} {{stash_message}}` + +- Sla huidige veranderingen op, inclusief nieuwe niet-bijgehouden bestanden: + +`git stash {{[-u|--include-untracked]}}` + +- Selecteer interactief delen van gewijzigde bestanden om op te slaan: + +`git stash {{[-p|--patch]}}` + +- Toon alle stashes (toont stash-naam, gerelateerde branch en bericht): + +`git stash list` + +- Toon de wijzigingen als een patch tussen de stash (standaard is `stash@{0}`) en de commit van toen de stash voor het eerst werd aangemaakt: + +`git stash show {{[-p|--patch]}} {{stash@{0}}}` + +- Pas een stash toe (standaard is de recenste, genaamd `stash@{0}`): + +`git stash apply {{facultatieve_stash_naam_of_commit}}` + +- Verwijder of pas een stash toe (standaard is `stash@{0}`) en verwijder deze uit de stash-lijst als het toepassen geen conflicten veroorzaakt: + +`git stash pop {{facultatieve_stash_naam}}` + +- Verwijder alle stashes: + +`git stash clear` diff --git a/pages/common/git-stash.md b/pages/common/git-stash.md index f01cfcbcc5..39aadb0d62 100644 --- a/pages/common/git-stash.md +++ b/pages/common/git-stash.md @@ -5,7 +5,7 @@ - Stash current changes with a message, except new (untracked) files: -`git stash push {{[-m|--message]}} {{optional_stash_message}}` +`git stash push {{[-m|--message]}} {{stash_message}}` - Stash current changes, including new untracked files: @@ -23,11 +23,11 @@ `git stash show {{[-p|--patch]}} {{stash@{0}}}` -- Apply a stash (default is the latest, named stash@{0}): +- Apply a stash (default is the latest, named `stash@{0}`): `git stash apply {{optional_stash_name_or_commit}}` -- Drop or apply a stash (default is stash@{0}) and remove it from the stash list if applying doesn't cause conflicts: +- Drop or apply a stash (default is `stash@{0}`) and remove it from the stash list if applying doesn't cause conflicts: `git stash pop {{optional_stash_name}}`