Skip to content

hon84.work

An coding monkey who reject all your request

Tag: git

Git snippets

some of useful git snippets

Archiving Code

  1. Pack the difference

    git archive HEAD $(git diff $commit --diff-filter=d --name-only)
  2. Pack the modified files

    tar -cvf - $(git ls-files --m )
Author honPosted on July 26, 2019August 17, 2019Categories snippetsTags gitLeave a comment on Git snippets

Recent Posts

  • Regexp for re-phasing input name from dot notation
  • Supervisor config for laravel queue
  • [PHP] Configuration for file upload
  • [PHP] xdebug
  • vscode configurations

Categories

  • configs
  • JavaScript
  • MySQL
  • nginx
  • php
  • snippets
  • Uncategorized

Archives

  • November 2023
  • September 2019
  • August 2019
  • July 2019

Tags

  • Bootstrap
  • git
  • html input
  • JavaScript
  • larave
  • laravel
  • Modal
  • mysql
  • NGINX
  • php
  • regexp
  • shell
  • sql
  • supervisord
  • timezone
  • upload
  • utils
  • vscode
  • xdebug
hon84.work Proudly powered by WordPress