Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 从Ionic 3项目的git更改中删除1.js.map_Angular_Git_Typescript_Ionic3 - Fatal编程技术网

Angular 从Ionic 3项目的git更改中删除1.js.map

Angular 从Ionic 3项目的git更改中删除1.js.map,angular,git,typescript,ionic3,Angular,Git,Typescript,Ionic3,如何从git更改中删除js.map文件?我试过很多。但是还没有运气。我的项目是爱奥尼亚3app .gitignore 尝试以下操作: 提交所有更改 使用git rm-r--cached.sourcemaps/取消对索引的跟踪 提交更改git push 我希望有帮助 # Specifies intentionally untracked files to ignore when using Git # http://git-scm.com/docs/gitignore *~ *.sw[mnpco

如何从
git
更改中删除
js.map
文件?我试过很多。但是还没有运气。我的项目是爱奥尼亚3app

.gitignore

尝试以下操作:

  • 提交所有更改
  • 使用
    git rm-r--cached.sourcemaps/
    取消对索引的跟踪
  • 提交更改
    git push
  • 我希望有帮助

    # Specifies intentionally untracked files to ignore when using Git
    # http://git-scm.com/docs/gitignore
    
    *~
    *.sw[mnpcod]
    *.log
    *.tmp
    *.tmp.*
    *.map
    *.js.map
    log.txt
    *.sublime-project
    *.sublime-workspace
    .vscode/
    npm-debug.log*
    
    .idea/
    .sass-cache/
    .tmp/
    .versions/
    coverage/
    dist/
    node_modules/
    tmp/
    temp/
    hooks/
    platforms/
    plugins/
    plugins/android.json
    plugins/ios.json
    www/
    $RECYCLE.BIN/
    
    .DS_Store
    Thumbs.db
    UserInterfaceState.xcuserstate
    .sourcemaps/