.gitignore常见提交时需要忽略的文件

https://blog.csdn.net/qq_42820594/article/details/109962799

 

这些内容Qt5自动生成的,我加了一些Visual Studio 的文件夹。方便在有些情况下要手动生成.gitignore使用。
git速查表(git速查表)

# This file is used to ignore files which are generated
# ----------------------------------------------------------------------------
*~
*.autosave
*.a
*.core
*.moc
*.o
*.obj
*.orig
*.rej
*.so
*.so.*
*_pch.h.cpp
*_resource.rc
*.qm
.#*
*.*#
core
!core/
tags
.DS_Store
.directory
*.debug
Makefile*
*.prl
*.app
moc_*.cpp
ui_*.h
qrc_*.cpp
Thumbs.db
*.res
*.rc
/.qmake.cache
/.qmake.stash

# qtcreator generated files
*.pro.user*

# xemacs temporary files
*.flc

# Vim temporary files
.*.swp

# Visual Studio generated files
*.ib_pdb_index
*.idb
*.ilk
*.pdb
*.sln
*.suo
*.vcproj
*vcproj.*.*.user
*.ncb
*.sdf
*.opensdf
*.vcxproj
*vcxproj.*

# MinGW generated files
*.Debug
*.Release

# Python byte code
*.pyc

# Binaries
# --------
*.dll
*.exe

#Visual Studio
*.zip
/Debug/
/x64/
/.vs/
/Release/

posted on 2021-05-13 09:32  四海骄阳  阅读(257)  评论(0编辑  收藏  举报

导航