mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
Merge branch 'up/fix/git-memo-more2' into chore/all-my-stuffs
This commit is contained in:
commit
0d18e6cca8
2 files changed
+21
-1
No files matched your search
@@ -35,6 +35,26 @@ Add new modifications to the last commit
|
||||
git commit --amend --no-edit
|
||||
```
|
||||
|
||||
## Branches
|
||||
|
||||
Lists all local branches in your repository (use -a for local and remote branches)
|
||||
|
||||
```shell
|
||||
git branch
|
||||
```
|
||||
|
||||
Switch to an existing branch
|
||||
|
||||
```shell
|
||||
git switch [branch name]
|
||||
```
|
||||
|
||||
Create a new branch
|
||||
|
||||
```shell
|
||||
git checkout -b [branch name]
|
||||
```
|
||||
|
||||
## I’ve made a mistake
|
||||
|
||||
Change last commit message
|
||||
|
||||
@@ -6,7 +6,7 @@ export const tool = defineTool({
|
||||
name: translate('tools.git-memo.title'),
|
||||
path: '/git-memo',
|
||||
description: translate('tools.git-memo.description'),
|
||||
keywords: ['git', 'push', 'force', 'pull', 'commit', 'amend', 'rebase', 'merge', 'reset', 'soft', 'hard', 'lease'],
|
||||
keywords: ['git', 'push', 'force', 'pull', 'commit', 'branch', 'switch', 'checkout', 'amend', 'rebase', 'merge', 'reset', 'soft', 'hard', 'lease'],
|
||||
component: () => import('./git-memo.vue'),
|
||||
icon: BrandGit,
|
||||
});
|
||||
Reference in new issue
Block a user