├── .gitignore ├── bin ├── git-shabis-setup.js └── git-shabis-destroy.js ├── lib ├── uninstall.js └── index.js ├── package.json └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /bin/git-shabis-setup.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var setup = require('../lib/index.js'); 4 | setup.configure(); 5 | -------------------------------------------------------------------------------- /bin/git-shabis-destroy.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var destroy = require('../lib/uninstall.js'); 4 | destroy.uninstall(); 5 | -------------------------------------------------------------------------------- /lib/uninstall.js: -------------------------------------------------------------------------------- 1 | const gitconfig = require('gitconfig'); 2 | 3 | var uninstall = function() { 4 | console.log("Trefing up Git..."); 5 | gitconfig.unset(['alias.vus', 'alias.chollent', 'alias.shlep', 6 | 'alias.chap', 'alias.shtup', 'alias.loshon-hora', 7 | 'alias.nafka-mina', 'alias.gniza', 'alias.farbinden', 8 | 'alias.apikoyres', 'alias.drochim', 'alias.givald', 'alias.oy-vey', 9 | 'alias.shmutz', 'alias.shmooz', 'alias.nochamol'], 10 | { location: 'global' }).then(); 11 | 12 | setTimeout(function() { 13 | console.log("nebuch, Git is now treif."); 14 | }, 5000); 15 | }; 16 | 17 | exports.uninstall = uninstall; 18 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "git-shabis", 3 | "description": "git far yiddin", 4 | "version": "613.1.27", 5 | "main": "./lib/index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/shteeble/git-shabis.git" 12 | }, 13 | "keywords": [], 14 | "author": "A couple avreichim", 15 | "license": "ISC", 16 | "homepage": "https://github.com/shteeble/git-shabis", 17 | "dependencies": { 18 | "gitconfig": "2.0.3" 19 | }, 20 | "bin": { 21 | "kasher-git": "./bin/git-shabis-setup.js", 22 | "treif-up-git": "./bin/git-shabis-destroy.js" 23 | }, 24 | "preferGlobal": true 25 | } 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Git-Shabis - גיט פאר יידעין 2 | 3 |

יִהְיֶה רָצוֹן לִפְנֵי פוּל ריקווסט

4 | 5 |

יְהִי רָצוֹן מִלְפָנֶיךָ קוֹנֵה רימוט ולוקאל
6 | שתּוֹלִיכֵנוּ מלוקאל לשָׁלוֹם, וְתַגִּיעֵנוּ לִמְחוֹז רימוט לְשָׁלוֹם,
7 | וּתְמַלְּטֵנוּ מרג'קט וּמִקּוֹנְפְלִיקְטִים רָעִים הַמְּבַקְּשִׁים לָבוֹא לָעוֹלָם,
8 | וּמִכָּל מִינֵי תַקָּלוֹת פֻּרְעָנֻיּוֹת וקומנטס,
9 | שֹׁמְרֵנוּ וְהַצִילֵנוּ בְּתוֹךְ כָּל מפתחי בְּנֵי יִשְׂרָאֵל הדוחפים בבראנצ' הזה,
10 | וְהָעוֹבְרִים בְּאֹרְחוֹת הספרינט ודַרְכֵי הריליס מִכַּף כָּל-אוֹיֵב ורוויואר,
11 | ומִכֹּל באג הבא עלינו. בָּרוּךְ שׁוֹמֵעַ קול מפתח:

12 | 13 | 14 | 15 | ### Installation 16 | ``` 17 | $npm install -g git-shabis 18 | $kasher-git 19 | ``` 20 | ### Uninstall 21 | ``` 22 | $treif-up-git 23 | $npm uninstall -g git-shabis 24 | ``` 25 | # מצוות - mitzvis 26 | שלעפ טוישן 27 | ``` 28 | $ git shlep // git pull 29 | ``` 30 | שטופ טוישן 31 | ``` 32 | $ git shtup // git push 33 | ``` 34 | shep changes 35 | ``` 36 | $ git chap //git fetch 37 | ``` 38 | Get nafka mina of different girsas 39 | ``` 40 | $ git nafka-mina //git diff 41 | ``` 42 | מאך טשאלנט 43 | ``` 44 | $ git chollent // git merge 45 | ``` 46 | Be malshin to other yiddin 47 | ``` 48 | $ git loshon-hora // git blame 49 | ``` 50 | וואַרפן צו די גניזה 51 | ``` 52 | $ git gniza // git stash 53 | ``` 54 | גיט שמוץ ארויס 55 | ``` 56 | $ git shmutz // git stash 57 | ``` 58 | גיט פאַרבינדן 59 | ``` 60 | $ git farbinden // git connect 61 | ``` 62 | באַקומען די דרך 63 | ``` 64 | $ git drochim // git branch 65 | ``` 66 | גיט אפיקורוס 67 | ``` 68 | $ git apikoyres // git checkout -b 69 | ``` 70 | גיט נאך א מאל 71 | ``` 72 | $ git nochamol // git rebase 73 | ``` 74 | גיט גוואַלד 75 | ``` 76 | $ git givald // git help 77 | ``` 78 | גיט אוי ויי 79 | ``` 80 | $ git oy-vey // git help 81 | ``` 82 | גיט שמוז 83 | ``` 84 | $ git shmooz // git log 85 | ``` 86 | גיט וואס 87 | ``` 88 | $ git vus // git status 89 | ``` 90 | -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- 1 | const gitconfig = require('gitconfig'); 2 | 3 | var configure = function() { 4 | console.log("Kashering Git..."); 5 | gitconfig.set({ 6 | 'alias.vus': 'status', 7 | 'alias.chollent': 'merge', 8 | 'alias.shlep': 'pull', 9 | 'alias.chap': 'fetch', 10 | 'alias.shtup': 'push', 11 | 'alias.loshon-hora': 'blame', 12 | 'alias.nafka-mina': 'diff', 13 | 'alias.gniza': 'stash', 14 | 'alias.shmutz': 'stash', 15 | 'alias.farbinden': 'connect', 16 | 'alias.apikoyres': 'checkout -b', 17 | 'alias.drochim': 'branch', 18 | 'alias.givald': 'help', 19 | 'alias.oy-vey': 'help', 20 | 'alias.shmooz': 'log', 21 | 'alias.nochamol': 'rebase' 22 | }, { location: 'global' }).then(); 23 | 24 | setTimeout(function() { 25 | var str1 = "(#############################)"; 26 | console.log(str1); 27 | console.log(str1); 28 | console.log(str1); 29 | console.log(str1); 30 | }, 100); 31 | 32 | setTimeout(function() { 33 | var rIn = 4.5; 34 | var rOut = 5.5; 35 | for (y = 4; y >= -5; --y) { 36 | var str = " "; 37 | if (y < 3) { 38 | str = " $"; 39 | } 40 | for (x = -5; x < rOut; x += 0.5) { 41 | const value = x * x + y * y; 42 | if (value >= rIn * rIn && value <= rOut * rOut) { 43 | str = str.concat("*"); 44 | } else { 45 | str = str.concat(" "); 46 | } 47 | } 48 | if (y < 3) { 49 | str = str.concat("$"); 50 | } 51 | console.log(str); 52 | } 53 | }, 100); 54 | 55 | setTimeout(function() { 56 | console.log("Toiveling..."); 57 | }, 2000); 58 | 59 | setTimeout(function() { 60 | console.log("Learning Yiddish..."); 61 | }, 5000); 62 | 63 | setTimeout(function() { 64 | console.log("Tasting Herring..."); 65 | }, 8000); 66 | 67 | setTimeout(function() { 68 | console.log("Shkuyach, Git is now kosher."); 69 | }, 10000); 70 | }; 71 | 72 | exports.configure = configure; 73 | --------------------------------------------------------------------------------