Skip to content

Instantly share code, notes, and snippets.

View madalinpopa's full-sized avatar
☀️
Learning

Madalin Popa madalinpopa

☀️
Learning
View GitHub Profile
@madalinpopa
madalinpopa / conventional_commit_messages.md
Created September 17, 2022 14:21 — forked from qoomon/conventional_commit_messages.md
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@madalinpopa
madalinpopa / GitCommitBestPractices.md
Created September 4, 2022 11:17 — forked from luismts/GitCommitBestPractices.md
Git Tips and Git Commit Best Practices

Git Commit Best Practices

Basic Rules

Commit Related Changes

A commit should be a wrapper for related changes. For example, fixing two different bugs should produce two separate commits. Small commits make it easier for other developers to understand the changes and roll them back if something went wrong. With tools like the staging area and the ability to stage only parts of a file, Git makes it easy to create very granular commits.

Commit Often

Committing often keeps your commits small and, again, helps you commit only related changes. Moreover, it allows you to share your code more frequently with others. That way it‘s easier for everyone to integrate changes regularly and avoid having merge conflicts. Having large commits and sharing them infrequently, in contrast, makes it hard to solve conflicts.

@madalinpopa
madalinpopa / pipenv_cheat_sheet.md
Created September 14, 2019 18:47 — forked from aroraayush/pipenv_cheat_sheet.md
Pipenv cheat sheet for common commands
@madalinpopa
madalinpopa / gist:d6794e5b3f4bb3cb6a5bd7f582ebd8ff
Created April 11, 2019 04:41
vim_work_with_powershell.md
Put this in .vimrc
```
" Set PowerShell as shell
set shell=powershell.exe
set shellcmdflag=-NoProfile\ -NoLogo\ -NonInteractive\ -Command
set shellpipe=|
set shellredir=>
```
Enable scripts in powershell
```
@madalinpopa
madalinpopa / windwos_commands.md
Last active April 10, 2019 19:01
Useful Windwos Command Line Commands

Start explorer in current folder

start .

Delete a folder recursively

rmdir /S <dir_name>

Enable scripts powershell

@madalinpopa
madalinpopa / GitConfigHttpProxy.md
Created February 7, 2019 16:19 — forked from evantoli/GitConfigHttpProxy.md
Configure Git to use a proxy

Configure Git to use a proxy

##In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

@madalinpopa
madalinpopa / .bash_profile
Created January 6, 2019 13:40 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management