Android Studio Git .gitignore vs Project > Settings > Version Control > Ignored Files

Ok to answer my own question. To go back to using .gitignore, do the following: Go to Settings > Version Control > Ignored Files and remove all ignored files. Hit Apply. Still in Settings > Version Control change the type of version control from Git to none. Hit Apply. Delete the project’s .git directory created … Read more

Angular2 .gitignore

angular-cli generates # See http://help.github.com/ignore-files/ for more about ignoring files. # compiled output /dist /tmp /out-tsc # dependencies /node_modules # IDEs and editors /.idea .project .classpath .c9/ *.launch .settings/ *.sublime-workspace # IDE – VSCode .vscode/* !.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json # misc /.sass-cache /connect.lock /coverage /libpeerconnection.log npm-debug.log testem.log /typings # e2e /e2e/*.js /e2e/*.map # System Files … Read more

How to hide .env file from Github

Create a file called .gitignore in the root directory of your project (it’s possible one is already there) and add .env on its own line in the file. Also, if you have already added it to your repository, then you will have to add the file to .gitignore as stated above and then clear Git’s … Read more

Added pod files and pushed. How to undo? how to use gitignore in Xcode & github?

That’s correct, you need to add the Pods directory to your .gitignore 1) Remove your files from your github repository: git rm -r Pods/ and don’t forget to commit and push 2) Create a gitignore file: Open terminal and go through your project folder where the .git folder is located Type touch .gitignore Type echo … Read more

Git still adds and tracks folders marked in .gitignore [duplicate]

The reason it isn’t working is (probably) because you added some of those files before you added the .gitignore – so you have to remove them from git before they’re able to be ignored. Source: https://stackoverflow.com/a/1139797/2128691 First, commit any outstanding code changes, and then, run this command: git rm -r –cached . This removes everything … Read more

gitignore not ignoring file

You can only ignore unversioned files but that file is already known to git. If you want git to track that file, there is no need to tell git to ignore it. If you don’t want git to track that file use git rm and your ignore rule will start working. Caution: git rm will … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)