Skip to content

Commit 38438b5

Browse files
authored
Merge branch 'main' into dcdigit-patch-1
2 parents a4e3b5a + 7a8a59b commit 38438b5

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
# The name of the workflow.
3+
name: Delete newly git-ignored files from your repository
4+
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
5+
command: |-
6+
git rm -r --cached .
7+
git add .
8+
# Any tags that the workflow should be categorized with.
9+
tags:
10+
- git
11+
# A description of the workflow.
12+
description: After adding new files to the .gitignore file, these commands will update the git index
13+
# The source URL for where the workflow was generated from, if any.
14+
source_url: "https://stackoverflow.com/questions/1274057/how-can-i-make-git-forget-about-a-file-that-was-tracked-but-is-now-in-gitign"
15+
# The author of the workflow.
16+
author: Matt Frear
17+
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
18+
author_url: "https://stackoverflow.com/users/32598/matt-frear"
19+
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
20+
# See FORMAT.md for the full list of accepted values.
21+
shells: []

specs/git/update_git_username.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Change username of git
3+
command: "git config --global user.name '{{username}}'"
4+
tags:
5+
- git
6+
description: Sets the username for git
7+
arguments:
8+
- name: username
9+
description: The new username git should use
10+
default_value: ~
11+
source_url: "https://stackoverflow.com/questions/22844806/how-to-change-my-git-username-in-terminal"
12+
author: Orils
13+
author_url: "https://stackoverflow.com/users/2817112/oriol"
14+
shells: []

0 commit comments

Comments
 (0)