Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git global gitignore

touch ~/.gitignore
git config --global core.excludesfile ~/.gitignore
Comment

global gitignore

#Windows:
#Run this in cmd:
git config --global core.excludesFile "%USERPROFILE%.gitignore" && notepad "%USERPROFILE%.gitignore"

#Notepad will open, press yes to the prompt to make a new file.
#Any changes made to this file will work immediately for all repos.

## This makes both a ".gitconfig" and a ".gitignore" file in %USERPROFILE%
## The ".gitconfig" file is required for the ".gitignore" file to work.
Comment

gitignore global example

# This is a list of rules for ignoring files in every Git repositories on your computer.
# See https://help.github.com/articles/ignoring-files

# Compiled source #
###################
*.class
*.com
*.dll
*.exe
*.o
*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log

# OS generated files #
######################
._*
.DS_Store
.DS_Store?
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Testing #
###########
.rspec
capybara-*.html
coverage
pickle-email-*.html
rerun.txt
spec/reports
spec/tmp
test/tmp
test/version_tmp

# node #
########
node_modules

# Rails #
#########
**.orig
*.rbc
*.sassc
.project
.rvmrc
.sass-cache
/.bundle
/db/*.sqlite3
/log/*
/public/system/*
/tmp/*
/vendor/bundle


# Ruby #
########
*.gem
*.rbc
.bundle
.config
.yardoc
_yardoc
doc/
InstalledFiles
lib/bundler/man
pkg
rdoc
tmp

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset

# CTags #
#########
tags

# Env #
#######
.env

# Python #
#######
*.pyc
__pycache__/
Comment

git global gitignore

touch ~/.gitignore
git config --global core.excludesfile ~/.gitignore
Comment

global gitignore

#Windows:
#Run this in cmd:
git config --global core.excludesFile "%USERPROFILE%.gitignore" && notepad "%USERPROFILE%.gitignore"

#Notepad will open, press yes to the prompt to make a new file.
#Any changes made to this file will work immediately for all repos.

## This makes both a ".gitconfig" and a ".gitignore" file in %USERPROFILE%
## The ".gitconfig" file is required for the ".gitignore" file to work.
Comment

gitignore global example

# This is a list of rules for ignoring files in every Git repositories on your computer.
# See https://help.github.com/articles/ignoring-files

# Compiled source #
###################
*.class
*.com
*.dll
*.exe
*.o
*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log

# OS generated files #
######################
._*
.DS_Store
.DS_Store?
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Testing #
###########
.rspec
capybara-*.html
coverage
pickle-email-*.html
rerun.txt
spec/reports
spec/tmp
test/tmp
test/version_tmp

# node #
########
node_modules

# Rails #
#########
**.orig
*.rbc
*.sassc
.project
.rvmrc
.sass-cache
/.bundle
/db/*.sqlite3
/log/*
/public/system/*
/tmp/*
/vendor/bundle


# Ruby #
########
*.gem
*.rbc
.bundle
.config
.yardoc
_yardoc
doc/
InstalledFiles
lib/bundler/man
pkg
rdoc
tmp

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset

# CTags #
#########
tags

# Env #
#######
.env

# Python #
#######
*.pyc
__pycache__/
Comment

PREVIOUS NEXT
Code Example
Shell :: revert back to a commit git 
Shell :: how to install slack in ubuntu 
Shell :: array and for loop bash 
Shell :: how to push code to another remote git repository 
Shell :: link php with php 8 mac 
Shell :: remove all games ubuntu 
Shell :: linux install yarn 
Shell :: delete a line starting with sed 
Shell :: discard unstaged changes git 
Shell :: count occurrences of word in unix bash 
Shell :: InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files. 
Shell :: gsap install 
Shell :: grep exclude directory 
Shell :: install zsh with powerlevel10k customization addon 
Shell :: Installing mongodb over ubuntu 22.04 
Shell :: update every python library 
Shell :: ! [rejected] main - main 
Shell :: how to open pdf from ubuntu terminal 
Shell :: a script that compiles a C file but does not link 
Shell :: Undo commit and keep all files staged 
Shell :: change root password for kali 
Shell :: ubuntu see ram usage 
Shell :: foreach powershell 
Shell :: remove dbeaver ubuntu 7.1.5 
Shell :: kubernetes service yaml 
Shell :: git default remote 
Shell :: vim move line down 
Shell :: git force checkout 
Shell :: how to check current status of apache2 ubuntu 18 
Shell :: tailwind nodejs 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =