Skip to content

Commit 34e0a8b

Browse files
authored
Merge pull request #80 from vjindal0112/main
added git workflow update_git_index_after_ignoring_files.yaml
2 parents 01f7d91 + 09e256f commit 34e0a8b

1 file changed

Lines changed: 21 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: []

0 commit comments

Comments
 (0)