Tutorial install git-filter-repo
Tutorial install git-filter-repo Requirements for installing git-filter-repo Python v3.xPython pip Python v3.x Python pip Step to install python -m pip install git-filter-repo Usage git filter-repo --path FOLDER-NAME/ Troubleshooting pip is missing python -m pip install --upgrade pip
Baca Selengkapnyabash script to rollback github pages
bash script to rollback github pages Bash script github pages rollback /usr/bin/env bashecho Insert commit hash read commitHashbranch=git branch --show-currentbranchpatch=patchif [ -z commitHash ]; then echo No commit hash supplied exitfigit checkout branchgit reset --hard
Baca SelengkapnyaWhat is /dev/null in shell command ?
What is /dev/null in shell command ? various types of arguments /dev/null argumentargument description> /dev/nullthrow away stdout1> /dev/nullthrow away stdout2> /dev/nullthrow away stderr> /dev/nullthrow away both stdout and stderr argumentargument description argument argument
Baca SelengkapnyaMake CYGWIN binary as priority in windows
Using linux binary command instead windows binary command. Make cygwin downloaded package as priority.
Baca SelengkapnyaScript bash git commit recursive with submodules
bash script to commit root and all submodules at once
Baca Selengkapnyaget list of files from npm pack
get list of files from npm pack npm i git-command-helper //const writeFileSync = requirefs;const spawnAsync = requiregit-command-helper/dist/spawn;//const join = requirepath;spawnAsyncnpm, [pack, --json, --dry-run].thenresult => const parse = JSON.parser
Baca SelengkapnyaHexoJS get posts by tags or categories
HexoJS get posts by tags or categories @types/hexo required for typescript users @types/hexo default @types/hexo not giving complete types, so I made my custom definition file for hexo. You can install with below command npm i -D https://github.com/dimaslanjaka/nodejs-package-types/tarball/hexo Snip
Baca Selengkapnyayaml github actions to clean all caches
yaml github actions to clean all caches add TOKEN to Github Actions Secrets Environtmentcreate .github/workflows/clean-caches.yml, put below codes add TOKEN to Github Actions Secrets Environtment TOKEN create .github/workflows/clean-caches.yml, put below codes .github/workflows/clean-caches.yml nam
Baca SelengkapnyaGithub Workflows Run Strategy Matrix Sequentally
Github Workflows Run Strategy Matrix Sequentally How to setup github action matrix to be run sequentally or series each job ? Conclusing Just add below codes: jobs: deploy: runs-on: ubuntu-latest strategy: When set to true, GitHub cancels all in-progress jobs if any matrix job fail
Baca SelengkapnyaMenjalankan Github Workflow Satu Instansi sequentally
Cara setting github actions agar jalan satu job saja sequentally
Baca Selengkapnya