Quantcast
Channel: amitsamtani.com » git
Viewing all articles
Browse latest Browse all 2

Git – Ignore already checked in file/directory

$
0
0

Original Source: stackoverflow.com

This command will cause git to untrack your directory and all files under it without actually deleting them:

git rm -r --cached <your directory>

The -r option causes the removal of all files under your directory.
The –cached option causes the files to only be removed from git’s index, not your working copy. By default git rm would delete .


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images