Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

create gitignore files windows

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

make a global .gitignore file windows

#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

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

PREVIOUS NEXT
Code Example
Shell :: linux see drivers 
Shell :: global gitignore 
Shell :: bash comment 
Shell :: array and for loop bash 
Shell :: ZTC ZEM800 telnet password 
Shell :: nginx stop if proxy_pass is down 
Shell :: ubuntu ifconfig not found 
Shell :: how do i update ubuntu 
Shell :: centos show hdd 
Shell :: install snap macos 
Shell :: mac os generate public key from private key 
Shell :: chmod 777 recursive all files 
Shell :: batch remove double quotes 
Shell :: open xampp control panel from terminal ubuntu 20 
Shell :: docker delete all containers 
Shell :: reinstall chrome ubuntu 
Shell :: connect to specific wifi device linux 
Shell :: export commit history github 
Shell :: INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.*.version signatures do not match previously installed version; ignoring! 
Shell :: linux find text in files recursively -include 
Shell :: after checkout fatal: You are not currently on a branch. 
Shell :: gitignore ignore everything except 
Shell :: install pyramid 
Shell :: how to set up git for github 
Shell :: bash script: replace . with : 
Shell :: find location for powershell profile ps1 file 
Shell :: stop tracking files git 
Shell :: ssh no strict checking 
Shell :: linux require a password to open a certain file 
Shell :: optimize mp4 ffmpeg 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =