git没有添加文件,包括日志

时间:2017-04-13 06:34:08

标签: git

我已添加了我的wordpress项目的所有文件,但我的自定义主题文件夹未添加到git。 我更喜欢使用PHPStorm的Git引擎以方便使用,并且从不使用强制命令(如果可以避免的话,不要使用)。

Git目录:

enter image description here

这是我最新的PHPStorm日志打印:

09:11:07.306: git -c core.quotepath=false add --ignore-errors -- package.json functions.php footer.php npm-debug.log.386200178 sidebar.php index.php header.php style.css

这是我的Git忽略:

# Created by .ignore support plugin (hsz.mobi)
### WordPress template
*.log
.htaccess
sitemap.xml
sitemap.xml.gz
wp-config.php
wp-content/advanced-cache.php
wp-content/backup-db/
wp-content/backups/
wp-content/blogs.dir/
wp-content/cache/
wp-content/upgrade/
wp-content/uploads/
wp-content/wp-cache-config.php
wp-content/plugins/hello.php
.idea
/readme.html
/license.txt

### Node template
# Logs
logs

npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules

当前的git状态:

Initial commit

Changes to be committed:
  (use "git rm --cached <file>..." to unstage)

        new file:   footer.php
        new file:   functions.php
        new file:   header.php
        new file:   index.php
        new file:   node_modules/bootstrap/CHANGELOG.md
        new file:   node_modules/bootstrap/Gruntfile.js
        new file:   node_modules/bootstrap/LICENSE
        new file:   node_modules/bootstrap/README.md
        new file:   node_modules/bootstrap/dist/css/bootstrap-theme.css
        new file:   node_modules/bootstrap/dist/css/bootstrap-theme.css.map
        new file:   node_modules/bootstrap/dist/css/bootstrap-theme.min.css
        new file:   node_modules/bootstrap/dist/css/bootstrap-theme.min.css.map
        new file:   node_modules/bootstrap/dist/css/bootstrap.css
        new file:   node_modules/bootstrap/dist/css/bootstrap.css.map
        new file:   node_modules/bootstrap/dist/css/bootstrap.min.css
        new file:   node_modules/bootstrap/dist/css/bootstrap.min.css.map
        new file:   node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.eot
        new file:   node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.svg
        new file:   node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf
        new file:   node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff
        new file:   node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2
        new file:   node_modules/bootstrap/dist/js/bootstrap.js
        new file:   node_modules/bootstrap/dist/js/bootstrap.min.js
        new file:   node_modules/bootstrap/dist/js/npm.js
        new file:   node_modules/bootstrap/fonts/glyphicons-halflings-regular.eot
        new file:   node_modules/bootstrap/fonts/glyphicons-halflings-regular.svg
        new file:   node_modules/bootstrap/fonts/glyphicons-halflings-regular.ttf
        new file:   node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff
        new file:   node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff2
        new file:   node_modules/bootstrap/grunt/.jshintrc
        new file:   node_modules/bootstrap/grunt/bs-commonjs-generator.js
        new file:   node_modules/bootstrap/grunt/bs-glyphicons-data-generator.js
        new file:   node_modules/bootstrap/grunt/bs-lessdoc-parser.js
        new file:   node_modules/bootstrap/grunt/bs-raw-files-generator.js
        new file:   node_modules/bootstrap/grunt/change-version.js
        new file:   node_modules/bootstrap/grunt/configBridge.json
        new file:   node_modules/bootstrap/grunt/npm-shrinkwrap.json
        new file:   node_modules/bootstrap/grunt/sauce_browsers.yml
        new file:   node_modules/bootstrap/js/affix.js
        new file:   node_modules/bootstrap/js/alert.js
        new file:   node_modules/bootstrap/js/button.js
        new file:   node_modules/bootstrap/js/carousel.js
        new file:   node_modules/bootstrap/js/collapse.js
        new file:   node_modules/bootstrap/js/dropdown.js
        new file:   node_modules/bootstrap/js/modal.js
        new file:   node_modules/bootstrap/js/popover.js
        new file:   node_modules/bootstrap/js/scrollspy.js
        new file:   node_modules/bootstrap/js/tab.js
        new file:   node_modules/bootstrap/js/tooltip.js
        new file:   node_modules/bootstrap/js/transition.js
        new file:   node_modules/bootstrap/less/alerts.less
        new file:   node_modules/bootstrap/less/badges.less
        new file:   node_modules/bootstrap/less/bootstrap.less
        new file:   node_modules/bootstrap/less/breadcrumbs.less
        new file:   node_modules/bootstrap/less/button-groups.less
        new file:   node_modules/bootstrap/less/buttons.less
        new file:   node_modules/bootstrap/less/carousel.less
        new file:   node_modules/bootstrap/less/close.less
        new file:   node_modules/bootstrap/less/code.less
        new file:   node_modules/bootstrap/less/component-animations.less
        new file:   node_modules/bootstrap/less/dropdowns.less
        new file:   node_modules/bootstrap/less/forms.less
        new file:   node_modules/bootstrap/less/glyphicons.less
        new file:   node_modules/bootstrap/less/grid.less
        new file:   node_modules/bootstrap/less/input-groups.less
        new file:   node_modules/bootstrap/less/jumbotron.less
        new file:   node_modules/bootstrap/less/labels.less
        new file:   node_modules/bootstrap/less/list-group.less
        new file:   node_modules/bootstrap/less/media.less
        new file:   node_modules/bootstrap/less/mixins.less
        new file:   node_modules/bootstrap/less/mixins/alerts.less
        new file:   node_modules/bootstrap/less/mixins/background-variant.less
        new file:   node_modules/bootstrap/less/mixins/border-radius.less
        new file:   node_modules/bootstrap/less/mixins/buttons.less
        new file:   node_modules/bootstrap/less/mixins/center-block.less
        new file:   node_modules/bootstrap/less/mixins/clearfix.less
        new file:   node_modules/bootstrap/less/mixins/forms.less
        new file:   node_modules/bootstrap/less/mixins/gradients.less
        new file:   node_modules/bootstrap/less/mixins/grid-framework.less
        new file:   node_modules/bootstrap/less/mixins/grid.less
        new file:   node_modules/bootstrap/less/mixins/hide-text.less
        new file:   node_modules/bootstrap/less/mixins/image.less
        new file:   node_modules/bootstrap/less/mixins/labels.less
        new file:   node_modules/bootstrap/less/mixins/list-group.less
        new file:   node_modules/bootstrap/less/mixins/nav-divider.less
        new file:   node_modules/bootstrap/less/mixins/nav-vertical-align.less
        new file:   node_modules/bootstrap/less/mixins/opacity.less
        new file:   node_modules/bootstrap/less/mixins/pagination.less
        new file:   node_modules/bootstrap/less/mixins/panels.less
        new file:   node_modules/bootstrap/less/mixins/progress-bar.less
        new file:   node_modules/bootstrap/less/mixins/reset-filter.less
        new file:   node_modules/bootstrap/less/mixins/reset-text.less
        new file:   node_modules/bootstrap/less/mixins/resize.less
        new file:   node_modules/bootstrap/less/mixins/responsive-visibility.less
        new file:   node_modules/bootstrap/less/mixins/size.less
        new file:   node_modules/bootstrap/less/mixins/tab-focus.less
        new file:   node_modules/bootstrap/less/mixins/table-row.less
        new file:   node_modules/bootstrap/less/mixins/text-emphasis.less
        new file:   node_modules/bootstrap/less/mixins/text-overflow.less
        new file:   node_modules/bootstrap/less/mixins/vendor-prefixes.less
        new file:   node_modules/bootstrap/less/modals.less
        new file:   node_modules/bootstrap/less/navbar.less
        new file:   node_modules/bootstrap/less/navs.less
        new file:   node_modules/bootstrap/less/normalize.less
        new file:   node_modules/bootstrap/less/pager.less
        new file:   node_modules/bootstrap/less/pagination.less
        new file:   node_modules/bootstrap/less/panels.less
        new file:   node_modules/bootstrap/less/popovers.less
        new file:   node_modules/bootstrap/less/print.less
        new file:   node_modules/bootstrap/less/progress-bars.less
        new file:   node_modules/bootstrap/less/responsive-embed.less
        new file:   node_modules/bootstrap/less/responsive-utilities.less
        new file:   node_modules/bootstrap/less/scaffolding.less
        new file:   node_modules/bootstrap/less/tables.less
        new file:   node_modules/bootstrap/less/theme.less
        new file:   node_modules/bootstrap/less/thumbnails.less
        new file:   node_modules/bootstrap/less/tooltip.less
        new file:   node_modules/bootstrap/less/type.less
        new file:   node_modules/bootstrap/less/utilities.less
        new file:   node_modules/bootstrap/less/variables.less
        new file:   node_modules/bootstrap/less/wells.less
        new file:   node_modules/bootstrap/package.json
        new file:   npm-debug.log.386200178
        new file:   package.json
        new file:   sidebar.php
        new file:   style.css

0 个答案:

没有答案
相关问题