I want to .gitignore generated folders and files
up vote
-1
down vote
favorite
SO community I want to .gitignore all the folders that have this names.
- app1
- app2
I have this app structure.
|-- projects
| `-- d1s2sa7ds27 <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a1.json
| `-- d1gfdgfgfg <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a2.json
| `-- d1sdsdssdd <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a3.json
on the .gitignore file, I have something like this but is not working.
projects/**!app1!
projects/**!app2!
git version-control gitignore
add a comment |
up vote
-1
down vote
favorite
SO community I want to .gitignore all the folders that have this names.
- app1
- app2
I have this app structure.
|-- projects
| `-- d1s2sa7ds27 <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a1.json
| `-- d1gfdgfgfg <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a2.json
| `-- d1sdsdssdd <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a3.json
on the .gitignore file, I have something like this but is not working.
projects/**!app1!
projects/**!app2!
git version-control gitignore
1
Possible duplicate of ignoring any 'bin' directory on a git project
– kowsky
Nov 8 at 9:29
Thank you worked :)
– George C.
Nov 8 at 9:40
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
SO community I want to .gitignore all the folders that have this names.
- app1
- app2
I have this app structure.
|-- projects
| `-- d1s2sa7ds27 <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a1.json
| `-- d1gfdgfgfg <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a2.json
| `-- d1sdsdssdd <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a3.json
on the .gitignore file, I have something like this but is not working.
projects/**!app1!
projects/**!app2!
git version-control gitignore
SO community I want to .gitignore all the folders that have this names.
- app1
- app2
I have this app structure.
|-- projects
| `-- d1s2sa7ds27 <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a1.json
| `-- d1gfdgfgfg <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a2.json
| `-- d1sdsdssdd <= random folder
| `-- app1 <== I want to exclude this
| `-- app2 <== I want to exclude this
| `-- a3.json
on the .gitignore file, I have something like this but is not working.
projects/**!app1!
projects/**!app2!
git version-control gitignore
git version-control gitignore
edited Nov 8 at 10:05
asked Nov 8 at 9:17
George C.
88021338
88021338
1
Possible duplicate of ignoring any 'bin' directory on a git project
– kowsky
Nov 8 at 9:29
Thank you worked :)
– George C.
Nov 8 at 9:40
add a comment |
1
Possible duplicate of ignoring any 'bin' directory on a git project
– kowsky
Nov 8 at 9:29
Thank you worked :)
– George C.
Nov 8 at 9:40
1
1
Possible duplicate of ignoring any 'bin' directory on a git project
– kowsky
Nov 8 at 9:29
Possible duplicate of ignoring any 'bin' directory on a git project
– kowsky
Nov 8 at 9:29
Thank you worked :)
– George C.
Nov 8 at 9:40
Thank you worked :)
– George C.
Nov 8 at 9:40
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
draft saved
draft discarded
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53204663%2fi-want-to-gitignore-generated-folders-and-files%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Possible duplicate of ignoring any 'bin' directory on a git project
– kowsky
Nov 8 at 9:29
Thank you worked :)
– George C.
Nov 8 at 9:40