Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

create gitignore

# creates gitignore file
$ touch .gitignore
Comment

create gitignore

# Automatically create .gitignore file for a project. Copy in your .gitignore file
https://www.toptal.com/developers/gitignore
Comment

create gitignore files

#Linux
$ touch .gitignore

#Windows
cd c:<your path>
notepad .gitignore
#Accept the prompt to create the file, edit the contents accordingly, save and close.
Comment

create .gitignore

point your browser to 

gitignore.io 

and select all the tools and technologies you are using. 
You will automatically have a generated .gitignore file.
Comment

how to generate a .gitignore

echo "function gi() { curl -L -s https://www.gitignore.io/api/$@ ;}" >> ~/.bash_profile && source ~/.bash_profile
Comment

how to make .gitignore

# Open git bash in the directory you wanna create .gitignore
# run command:
$ touch .gitignore
# there you go
Comment

how to setup a gitignore

### Terraform ###
# Local .terraform directories
**/.terraform/*

# .tfstate files
*.tfstate

# Crash log files
crash.log

# Ignore any .tfvars files that are generated automatically for each Terraform run. Most
# .tfvars files are managed as part of configuration and so should be included in
# version control.
#
# example.tfvars

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Include override files you do wish to add to version control using negated pattern
# !example_override.tf

# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*

# End of https://www.toptal.com/developers/gitignore/api/terraform
Comment

PREVIOUS NEXT
Code Example
Shell :: neovim nvim plugins 
Shell :: TestStand null char 
Shell :: how to add branches 
Shell :: bash provide path to same dir as executable 
Shell :: import fuzzywuzzy module jupyter notebook 
Shell :: git find largest files in repo 
Shell :: Install SWAY on debin ubuntu 
Shell :: bat current directory loop 
Shell :: How to list unit files with systemctl command 
Shell :: how to change ssh key for git 
Shell :: p4merge git config 
Shell :: extract tar.zst zst linux ubnutu 
Shell :: get coordinates of the cursor ubuntu 
Shell :: lamp download for ubuntu 20.04 
Shell :: grep ignore node_modules 
Shell :: dhcpcd.service does not exist 
Shell :: nmap run scripts 
Shell :: bash remove random files from directory 
Shell :: xrandr 1600x900 ubuntu 
Shell :: git core sshcommand 
Shell :: fetch all from remote 
Shell :: bash float operations 
Shell :: guest additions not working on ubutnu 2104 
Shell :: adb default location 
Shell :: wait-on yarn 
Shell :: how to create a new branch 
Shell :: find docker compose location 
Shell :: Unable to correct problems, you have held broken packages installing cuda 
Shell :: run command on ctrl-c in shell script 
Shell :: convert mp4 to hap 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =