Skip to content

Instantly share code, notes, and snippets.

@rradfar
rradfar / Common-Git-Commands.md
Created March 26, 2021 13:39
Commonly used Git Commands

Commonly used Git Commands

Command Description
git add -a Stage all changes
git add . Stage new files and modifications, without deletions
git add -u Stage modifications and deletions, without new files
git branch List all local branches
git branch -a List all local and remote branches
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Grunt intermediate storage
.grunt
@rradfar
rradfar / .editorconfig
Created August 3, 2019 13:35
EditorConfig Template
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
max_line_length = null