Git अनदेखी node_modules

कोड उदाहरण

4
0

नोड मॉड्यूल कैसे गिटिग्नोर करें

touch .gitignore  //to create a .gitignore if you dont have one
echo "node_modules/" >> .gitignore //this adds node_modules to gitignore
cat .gitignore //checks what files you have in your gitignore
4
0

git अनदेखी node_modules

If you add the below text into your .gitignore file,
then it will look for the node_modules directory. Then the node_modules
directory will be ignored.



node_modules/
1
0

सभी नोड_मॉड्यूल को अनदेखा करें

.gitignore
node_modules
0
0

git अनदेखी नोड मॉड्यूल

node_modules/
0
0

नोड मॉड्यूल को अनदेखा करें

//create a .gitignore file and add the following in it
# dependencies
node_modules
0
0

गिट अनदेखा करने के लिए नोड मॉड्यूल जोड़ें

## New Solution:
## create .gitignore & add node_modules

git rm -r --cached .

git add .

git commit -m"removed all files from gitignore"

git push origin master

अन्य भाषाओं में

यह पृष्ठ अन्य भाषाओं में है

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................