Skip to content

Commit fe06699

Browse files
committed
added git workflow update_git_index_after_ignoring_files.yaml
1 parent 022ef9b commit fe06699

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
- gitignore
12+
- version control
13+
# A description of the workflow.
14+
description: After adding new files to the .gitignore file, these commands will update the git index
15+
# The source URL for where the workflow was generated from, if any.
16+
source_url: "https://stackoverflow.com/questions/1274057/how-can-i-make-git-forget-about-a-file-that-was-tracked-but-is-now-in-gitign"
17+
# The author of the workflow.
18+
author: Matt Frear
19+
# 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.
20+
author_url: "https://stackoverflow.com/users/32598/matt-frear"
21+
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
22+
# See FORMAT.md for the full list of accepted values.
23+
shells: []

0 commit comments

Comments
 (0)