Skip to content

Instantly share code, notes, and snippets.

View isrmicha's full-sized avatar
🏠
Working from home

Israel Neves Micha isrmicha

🏠
Working from home
View GitHub Profile
const fs = require('fs');
console.log("Qual arquivo com as querys ?");
var prompt = require('prompt');
prompt.start();
prompt.get([{
name: 'nomeArquivo',
description: 'Nome do arquivo ? Ex: querys.txt ',
type: 'string',
required: true
# clone only the remote primary HEAD (default: origin/master)
git clone --single-branch
as in:
git clone <url> --branch <branch> --single-branch [<folder>]
You can see it in t5500-fetch-pack.sh:
test_expect_success 'single branch clone' '
git clone --single-branch "file://$(pwd)/." singlebranch