Skip to content

Instantly share code, notes, and snippets.

View notadilnaqvi's full-sized avatar
🍉

Adil notadilnaqvi

🍉
View GitHub Profile
@ishaqibrahimbot
ishaqibrahimbot / post-commit
Last active November 29, 2022 05:41
This is a git post-commit hook script that, if you include a JIRA ticket number in the commit message, will: - add the commit message as a comment to that ticket, - (if you add a time portion as well) log time in that ticket
#!/usr/bin/env node
/*
!! README !!
What this is:
A git post-commit hook script that, if you include a ticket number in the commit message, will:
- add the commit message as a comment to that ticket,
- (if you add a time portion as well) log time in that ticket
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'scrooloose/nerdtree'
"Plug 'tsony-tsonev/nerdtree-git-plugin'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ryanoasis/vim-devicons'
Plug 'airblade/vim-gitgutter'
@gitaarik
gitaarik / git_submodules.md
Last active June 8, 2024 10:16
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.
@millermedeiros
millermedeiros / .vimrc
Last active December 11, 2023 14:44
My VIM settings (.vimrc)
" =============================================================================
" Miller Medeiros .vimrc file
" -----------------------------------------------------------------------------
" heavily inspired by: @factorylabs, @scrooloose, @nvie, @gf3, @bit-theory, ...
" =============================================================================
" -----------------------------------------------------------------------------
" BEHAVIOR