Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specs/git/delete_local_git_branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Delete local git branch
command: "git branch --delete {{branch_name}}"
tags:
- git
description: "Deletes a local git branch only if it has been fully merged into the upstream branch. To force delete the branch irrespective of the its merged status, add the `--force` flag."
description: "Deletes a local git branch only if it has been fully merged into the upstream branch. To force delete the branch irrespective of its merged status, add the `--force` flag."
arguments:
- name: branch_name
description: The name of the branch to delete
Expand Down
4 changes: 2 additions & 2 deletions specs/git/set_upstream_branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ arguments:
description: The name of the remote
default_value: origin
- name: remote_branch
description: The name of the remote branch that the local branch should be point to
description: The name of the remote branch that the local branch should point to
default_value: main
- name: local_branch
description: The name of the local branch that we want to set
default_value: main
tags:
- git
description: Sets the upstream for a local branch to a remote branch.
shells: []
shells: []
2 changes: 1 addition & 1 deletion specs/git/undo_most_recent_git_commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Undo most recent git commit
command: git reset HEAD~
tags:
- git
description: Undos the last git commit while leaving the working tree (the state of the files on disk) untouched.
description: Undoes the last git commit while leaving the working tree (the state of the files on disk) untouched.
arguments: []
source_url: "https://stackoverflow.com/questions/927358/how-do-i-undo-the-most-recent-local-commits-in-git"
author: Mark Amery
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Finds all node_modules in a folder
command: find . -name "node_modules" -type d -prune -print | xargs du -chs
tags:
- npm
description: Finds and all node_modules in a folder and displays information about them
description: Finds all node_modules directories in a folder and displays information about them.
arguments: []
source_url: "https://medium.com/@tomlarge/how-to-delete-all-node-modules-folders-from-your-mac-60b5ce9949cf"
author: Tim Smith
Expand Down
2 changes: 1 addition & 1 deletion specs/npm/update_npm_to_the_latest_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Update NPM to the latest version
command: npm update -g npm
tags:
- npm
description: Updates npm to the latest version .
description: Updates npm to the latest version.
arguments: []
source_url: "https://stackoverflow.com/questions/6237295/how-can-i-update-nodejs-and-npm-to-the-next-versions"
author: James
Expand Down