#create .gitignore file in repository path
.getignore file
*.xml
*.doc
package/*.*
git status
git add -A
git commit -m "git ignore"
create .doc .xml and package folder with index.html
git status
git add -A
git commit -M "commit"
do change in .xml or .doc files and it will be ignored with,
git status
More geeksforgeeks.org linuxize.com
No comments:
Post a Comment