Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git add gitignore

$ touch .gitignore
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 :: Why github ask me username/password instead of SSH authentication? 
Shell :: create file from terminal using cat 
Shell :: kubernetes get persistent volume claims 
Shell :: create branch from remote branch 
Shell :: increase swap size ubuntu 
Shell :: vim brew 
Shell :: virtualbox boot from usb 
Shell :: bash vi exit 
Shell :: ? For which GitHub repository would you like to set up a GitHub workflow? (format: user/repository) 
Shell :: fedora error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory 
Shell :: openjdk-17-jdk 
Shell :: sh: webpack-dev-server: command not found 
Shell :: how to save curl output to a file 
Shell :: install kubernetes ubuntu 20.04 
Shell :: github new repo 
Shell :: kubernetes windows install 
Shell :: mongo shell change db 
Shell :: git bash command 
Shell :: substring in string shell 
Shell :: permissions in linux 
Shell :: bash manual command 
Shell :: join computer to domain powershell script 
Shell :: public access denied assmebla 
Shell :: ubuntu 20.4 uninstall cloud image 
Shell :: popular git command 
Shell :: how to see running commands linux 
Shell :: 3.4.5 packet tracer configure trunks 
Shell :: broken symlinks were found is this a problem 
Shell :: login authentication in android using volley github 
Shell :: git branch -M main not working 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =