From abc0c516044c357dbc01dba9316da621e84450ee Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Mon, 17 May 2021 19:09:41 +0200 Subject: [PATCH 1/7] git-alias: add page --- pages/common/git-alias.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pages/common/git-alias.md diff --git a/pages/common/git-alias.md b/pages/common/git-alias.md new file mode 100644 index 0000000000000..435d052df5cb9 --- /dev/null +++ b/pages/common/git-alias.md @@ -0,0 +1,17 @@ +# git alias + +> Create shortcuts for Git commands. +> Part of `git-extras`. +> More information . + +- List all aliases: + +`git alias` + +- Make a new alias for Git: + +`git {{alias}} "{{command}}"` + +- Search for existing aliases with a pattern: + +`git \ No newline at end of file From 68e75b18f2838ba5247f14613b5b163bc6448a70 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Mon, 17 May 2021 19:12:23 +0200 Subject: [PATCH 2/7] Didn't save --- pages/common/git-alias.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/git-alias.md b/pages/common/git-alias.md index 435d052df5cb9..b8da163c1a80e 100644 --- a/pages/common/git-alias.md +++ b/pages/common/git-alias.md @@ -12,6 +12,6 @@ `git {{alias}} "{{command}}"` -- Search for existing aliases with a pattern: +- Search for existing alias: -`git \ No newline at end of file +`git alias ^{{name}}` \ No newline at end of file From dad4a2d2c6fd7ebb5aa390470739dcbda5b0875b Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Mon, 17 May 2021 19:12:40 +0200 Subject: [PATCH 3/7] Added \n at end --- pages/common/git-alias.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-alias.md b/pages/common/git-alias.md index b8da163c1a80e..38a006ba082dd 100644 --- a/pages/common/git-alias.md +++ b/pages/common/git-alias.md @@ -14,4 +14,4 @@ - Search for existing alias: -`git alias ^{{name}}` \ No newline at end of file +`git alias ^{{name}}` From 0c7e1df604829f30603acca61e96cded97d38916 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Mon, 17 May 2021 19:13:37 +0200 Subject: [PATCH 4/7] Fixed bot issue --- pages/common/git-alias.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-alias.md b/pages/common/git-alias.md index 38a006ba082dd..1572105e0aec2 100644 --- a/pages/common/git-alias.md +++ b/pages/common/git-alias.md @@ -2,7 +2,7 @@ > Create shortcuts for Git commands. > Part of `git-extras`. -> More information . +> More information: . - List all aliases: From 2829694bcc21205666b2169779570150d2b2fcc5 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Mon, 17 May 2021 18:45:52 +0100 Subject: [PATCH 5/7] Update pages/common/git-alias.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-alias.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-alias.md b/pages/common/git-alias.md index 1572105e0aec2..4dbb1b858ee5f 100644 --- a/pages/common/git-alias.md +++ b/pages/common/git-alias.md @@ -8,7 +8,7 @@ `git alias` -- Make a new alias for Git: +- Create a new alias: `git {{alias}} "{{command}}"` From 8d1b1d7c046ff7699106b4e8d47622e2ce682c78 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Mon, 17 May 2021 18:45:59 +0100 Subject: [PATCH 6/7] Update pages/common/git-alias.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-alias.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-alias.md b/pages/common/git-alias.md index 4dbb1b858ee5f..c897335edd749 100644 --- a/pages/common/git-alias.md +++ b/pages/common/git-alias.md @@ -12,6 +12,6 @@ `git {{alias}} "{{command}}"` -- Search for existing alias: +- Search for an existing alias: `git alias ^{{name}}` From 16fa272be60c2407cc4e0479b173df4025cc082b Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Mon, 17 May 2021 18:50:39 +0100 Subject: [PATCH 7/7] Update pages/common/git-alias.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-alias.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-alias.md b/pages/common/git-alias.md index c897335edd749..cbdd005c2b410 100644 --- a/pages/common/git-alias.md +++ b/pages/common/git-alias.md @@ -10,7 +10,7 @@ - Create a new alias: -`git {{alias}} "{{command}}"` +`git alias "{{name}}" "{{command}}"` - Search for an existing alias: