MyTetra Share
Делитесь знаниями!
Ignoring some files and folders by default
Время создания: 19.04.2017 18:15
Раздел: git - Git Mastering Version Control
Запись: xintrea/mytetra_db_mcold/master/base/1492614939t2mroruedv/text.html на raw.githubusercontent.com

### 2. Ignoring some files and folders by default


```

1. Browse to C:\Repos\MyFirstRepo.

2. Create a .gitignore file using your preferred editor.

3. Put this text inside it:

# === This is a sample of .gitignore file ===

# Ignore temp files

*.tmp

```



```

#Only Include these specific directories and subdirectories:

!wordpress/

!wordpress/*/

!wordpress/*/wp-content/

!wordpress/*/wp-content/themes/

!wordpress/*/wp-content/themes/*

!wordpress/*/wp-content/themes/*/*

!wordpress/*/wp-content/themes/*/*/*

!wordpress/*/wp-content/themes/*/*/*/*

!wordpress/*/wp-content/themes/*/*/*/*/*

```


```

bin/Debug/*

bin/Release/*

```


### My .gitignore

```sh

**/

*.db

*.idea

*.pyc

*.xml

test.py

.gitignore

```

 
MyTetra Share v.0.59
Яндекс индекс цитирования