Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.gitignore is blocking everything #736

Closed
jonnysas opened this issue Feb 11, 2018 · 0 comments
Closed

.gitignore is blocking everything #736

jonnysas opened this issue Feb 11, 2018 · 0 comments

Comments

@jonnysas
Copy link
Member

jonnysas commented Feb 11, 2018

Created by https://www.gitignore.io/api/osx,windows,linux,xcode,objective-c,swift,android,java,jetbrains,eclipse,sublimetext,node,vim,netbeans,emacs,vagrant,textmate,otto,gradle

OSX

.DS_Store
.AppleDouble
.LSOverride

Icon must end with two \r

Icon

Thumbnails

._*

Files that might appear in the root of a volume

.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

Directories potentially created on remote AFP share

.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

Windows

Windows image file caches

Thumbs.db
ehthumbs.db

Folder config file

Desktop.ini

Recycle Bin used on file shares

$RECYCLE.BIN/

Windows Installer files

*.cab
*.msi
*.msm
*.msp

Windows shortcuts

*.lnk

Linux

*~

temporary files which can be created if a process still has a handle open of a deleted file

.fuse_hidden*

KDE directory preferences

.directory

Linux trash folder which might appear on any partition or disk

.Trash-*

Xcode

Xcode

gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

Build generated

build/
DerivedData

Various settings

*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata

Other

*.xccheckout
*.moved-aside
*.xcuserstate

Objective-C

Xcode

gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

Build generated

build/
DerivedData

Various settings

*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata

Other

*.xccheckout
*.moved-aside
*.xcuserstate
*.xcscmblueprint

Obj-C/Swift specific

*.hmap
*.ipa

CocoaPods

We recommend against adding the Pods directory to your .gitignore. However

you should judge for yourself, the pros and cons are mentioned at:

https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control

Pods/

Carthage

Add this line if you want to avoid checking in source code from Carthage dependencies.

Carthage/Checkouts

Carthage/Build

fastlane

It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the

screenshots whenever they are needed.

For more information about the recommended setup visit:

https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md

fastlane/report.xml
fastlane/screenshots

Objective-C Patch

*.xcscmblueprint

Swift

Xcode

gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

Build generated

build/
DerivedData

Various settings

*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata

Other

*.xccheckout
*.moved-aside
*.xcuserstate
*.xcscmblueprint

Obj-C/Swift specific

*.hmap
*.ipa

Swift Package Manager

Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.

Packages/

.build/

CocoaPods

We recommend against adding the Pods directory to your .gitignore. However

you should judge for yourself, the pros and cons are mentioned at:

https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control

Pods/

Carthage

Add this line if you want to avoid checking in source code from Carthage dependencies.

Carthage/Checkouts

Carthage/Build

fastlane

It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the

screenshots whenever they are needed.

For more information about the recommended setup visit:

https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md

fastlane/report.xml
fastlane/screenshots

Android

Built application files

*.apk
*.ap_

Files for the Dalvik VM

*.dex

Java class files

*.class

Generated files

bin/
gen/

Gradle files

.gradle/
build/

Local configuration file (sdk path, etc)

local.properties

Proguard folder generated by Eclipse

proguard/

Log Files

*.log

Android Studio Navigation editor temp files

.navigation/

Android Studio captures folder

captures/

Android Patch

gen-external-apklibs

Java

*.class

Mobile Tools for Java (J2ME)

.mtj.tmp/

Package Files

*.jar
*.war
*.ear

virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml

hs_err_pid*

JetBrains

Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm

*.iml

Directory-based project format:

.idea/

if you remove the above rule, at least ignore the following:

User-specific stuff:

.idea/workspace.xml

.idea/tasks.xml

.idea/dictionaries

.idea/shelf

Sensitive or high-churn files:

.idea/dataSources.ids

.idea/dataSources.xml

.idea/sqlDataSources.xml

.idea/dynamic.xml

.idea/uiDesigner.xml

Gradle:

.idea/gradle.xml

.idea/libraries

Mongo Explorer plugin:

.idea/mongoSettings.xml

File-based project format:

*.ipr
*.iws

Plugin-specific files:

IntelliJ

/out/

mpeltonen/sbt-idea plugin

.idea_modules/

JIRA plugin

atlassian-ide-plugin.xml

Crashlytics plugin (for Android Studio and IntelliJ)

com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

Eclipse

*.pydevproject
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath

Eclipse Core

.project

External tool builders

.externalToolBuilders/

Locally stored "Eclipse launch configurations"

*.launch

CDT-specific

.cproject

JDT-specific (Eclipse Java Development Tools)

.classpath

Java annotation processor (APT)

.factorypath

PDT-specific

.buildpath

sbteclipse plugin

.target

TeXlipse plugin

.texlipse

STS (Spring Tool Suite)

.springBeans

SublimeText

cache files for sublime text

*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache

workspace files are user-specific

*.sublime-workspace

project files should be checked into the repository, unless a significant

proportion of contributors will probably not be using SublimeText

*.sublime-project

sftp configuration file

sftp-config.json

Node

Logs

logs
.log
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

Optional npm cache directory

.npm

Optional REPL history

.node_repl_history

Vim

[.]*.s[a-w][a-z]
[.
]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~

NetBeans

nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
.nb-gradle/

Emacs

-- mode: gitignore; --

*~
#*#
/.emacs.desktop
/.emacs.desktop.lock
.elc
auto-save-list
tramp
.#

Org-mode

.org-id-locations
*_archive

flymake-mode

_flymake.

eshell files

/eshell/history
/eshell/lastdir

elpa packages

/elpa/

reftex files

*.rel

AUCTeX auto folder

/auto/

cask packages

.cask/

Vagrant

.vagrant/

TextMate

*.tmproj
*.tmproject
tmtags

Otto

.otto/

Gradle

.gradle
build/

Ignore Gradle GUI config

gradle-app.setting

Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)

!gradle-wrapper.jar

Cache of project

.gradletasknamecache

###############################################################################

Automation

reports
screenshots
sauce_connect*.txt
*.dmp

Walmart Projects

lib
dist
tmp

###############################################################################
#########################WALMART_STANDARD_GITIGNORE##########################
###############################################################################

All changes made above this line are subject to overwrites as the standard

.gitignore evolves. Please add any project specific ignores below.

###############################################################################

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants