Provides a detailed reference for Git commands including repository setup, basic operations, branching, stashing, history review, merging, rebasing, and configuration. Useful for quick lookup and as a learning resource for users.
75 lines
1.1 KiB
Plaintext
75 lines
1.1 KiB
Plaintext
# Ignore IntelliJ IDEA project-specific files
|
|
.idea/
|
|
*.iml
|
|
*.iws
|
|
|
|
# Ignore OS generated files
|
|
.DS_Store
|
|
.DS_Store?
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
Desktop.ini
|
|
|
|
# Ignore temporary files
|
|
*.tmp
|
|
*.swp
|
|
*.swo
|
|
*.bak
|
|
*.orig
|
|
|
|
# Ignore hidden system files
|
|
.*.s[a-v][a-z]
|
|
.*un~
|
|
$RECYCLE.BIN/
|
|
|
|
# Ignore logs and runtime files
|
|
*.log
|
|
*.pid
|
|
*.seed
|
|
*.gz
|
|
|
|
# Ignore clutter generated by markdown previews/editors
|
|
*.markdown-tmp
|
|
.markdown-cache/
|
|
|
|
# Ignore common backup files
|
|
*.~*
|
|
*.save
|
|
*~
|
|
|
|
# Ignore unnecessary files for compressed formats (if extracting archives is needed)
|
|
*.zip
|
|
*.tar
|
|
*.tar.gz
|
|
*.rar
|
|
|
|
# Ignore image editor temp files (if images are modified)
|
|
*.xcf~
|
|
*.psd~
|
|
|
|
# Ignore binary thumbnails or preview files (if editors generate them)
|
|
*.thumbs
|
|
|
|
# Ignore files specific to versioning history outside Git
|
|
*.orig
|
|
|
|
# Include images, documents, and markdown explicitly (so they're not accidentally excluded)
|
|
!*.md
|
|
!*.markdown
|
|
!*.png
|
|
!*.jpg
|
|
!*.jpeg
|
|
!*.gif
|
|
!*.pdf
|
|
!*.doc
|
|
!*.docx
|
|
!*.ppt
|
|
!*.pptx
|
|
!*.xls
|
|
!*.xlsx
|
|
!*.odt
|
|
|
|
# Ensure backup or runtime-related folders are ignored (user-configurable)
|
|
backup/
|
|
temp/
|
|
generated/ |