Skip to content

Instantly share code, notes, and snippets.

View datamweb's full-sized avatar
🏠
Working from home

Pooya Parsa datamweb

🏠
Working from home
View GitHub Profile
@Elli-Jeon
Elli-Jeon / GitCommitEmoji.md
Created May 4, 2022 13:01 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@keulu
keulu / MY_I18nModel.php
Last active April 8, 2022 15:02
Provide an i18n Model for Codeigniter4
<?php namespace Libraries\Core;
/**
* How to use :
*
* setup your configuration :
*
* in Config/App search for $defaultLocale and configure your $supportedLocales
*
*
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 17, 2024 19:04
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@subfuzion
subfuzion / global-gitignore.md
Last active May 5, 2024 19:34
Global gitignore

There are certain files created by particular editors, IDEs, operating systems, etc., that do not belong in a repository. But adding system-specific files to the repo's .gitignore is considered a poor practice. This file should only exclude files and directories that are a part of the package that should not be versioned (such as the node_modules directory) as well as files that are generated (and regenerated) as artifacts of a build process.

All other files should be in your own global gitignore file:

  • Create a file called .gitignore in your home directory and add any filepath patterns you want to ignore.
  • Tell git where your global gitignore file is.

Note: The specific name and path you choose aren't important as long as you configure git to find it, as shown below. You could substitute .config/git/ignore for .gitignore in your home directory, if you prefer.