This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
ci = commit | |
co = checkout | |
cb = checkout -b | |
st = status -sb | |
sf = show --name-only | |
lg = log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30 | |
incoming = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' ..@{u}) | |
outgoing = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' @{u}..) | |
unstage = reset HEAD -- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Public repositóries | |
ORGANIZATION_NAME= | |
curl -s https://api.github.com/orgs/$ORGANIZATION_NAME/repos | grep \"full_name\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 gh repo clone | |
# Private repositóries | |
TOKEN= | |
ORGANIZATION_NAME= | |
curl -s -H "Authorization: token $TOKEN" \ | |
https://api.github.com/orgs/$ORGANIZATION_NAME/repos | grep \"full_name\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 gh repo clone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function barraca() { | |
return console.log(` | |
::::.:.:.:........... ..... ..... ..... .........:.:.:.:.::: | |
::.:.:..:........ . ... . . . . . ... ........:.:.:.:::: | |
::.:..::....... .... . .St . .. . .......:.:..:: | |
.:..::....... ... . .@.8tt88; . ..... .....:..:.:. | |
.:.:....... ... . .@.@8S.X8X@t:;X@t. . ........:.:.:. | |
.:.:......... . . :% 8t :.;t%8@8ttXXt@: . . ......:.:.: | |
.::...... . . 8tt::. :S8S.X@8X. t:8.X. .. ..:::.:.:. | |
:.::.... .. . ;8%t%X. . . %%8S . .@.8:X: .. ......:.: |