git checkout -b <branchname>
git add
git commit -m "description of changes"
| ; Shift + Wheel for horizontal scrolling | |
| +WheelDown::WheelRight | |
| +WheelUp::WheelLeft |
| -server | |
| -Xms2048m | |
| -Xmx2048m | |
| -XX:NewSize=512m | |
| -XX:MaxNewSize=512m | |
| -XX:PermSize=512m | |
| -XX:MaxPermSize=512m | |
| -XX:+UseParNewGC | |
| -XX:ParallelGCThreads=4 | |
| -XX:MaxTenuringThreshold=1 |
git checkout mastergit pull --rebase to make sure you have the latest version of mastergit checkout feature/my-branchgit rebase master ... to rebase this branch from master
git push --force to update the branch on github. This is useful for making sure it closes a pull request properly.git checkout mastergit merge --no-ff feature/my-branch ... merge the branch into master, making sure there's a merge commit| var gulp = require('gulp'); | |
| var browserify = require('gulp-browserify'); | |
| var concat = require('gulp-concat'); | |
| var styl = require('gulp-styl'); | |
| var path = require('path'); | |
| var o = require('open'); | |
| var ripple = require('ripple-emulator'); | |
| var webPath = function (p) { return path.join('./www/', p); }; | |
| // Builds the scripts based on a single entry point using browserify |
| -ea | |
| -server | |
| -Xms1g | |
| -Xmx1g | |
| -Xss16m | |
| -XX:ReservedCodeCacheSize=96m | |
| -Dsun.io.useCanonCaches=false | |
| -Djava.net.preferIPv4Stack=true | |
| -Djsse.enableSNIExtension=false | |
| -XX:+UseCodeCacheFlushing |
Git freak como sou, precisava compartilhar algo útil sobre ele, claro. E, já que não vejo muito por aí o pessoal usando, resolvi falar dos alias do git! É um recurso que eu uso muito, e nunca entendi porque muitas pessoas não são adeptas. 😕
Pelo nome você já deve perceber que os alias no git são atalhos. Atalhos pro quê? São atalhos para comandos do git e até comandos shell se você quiser. E é bem fácil cadastrar um alias:
$ git config --global alias.st status
| ; KeypressOSD.ahk | |
| ;---------------------------------------------------------- | |
| ; KeypressOSD_stacked v1.00 | |
| ; Author : [email protected] | |
| ; Date : 2015-04-21 | |
| ; Tested on : Windows 8/AutoHotkey 1.1.19.03 | |
| ; Thanks : KeypressOSD by tmplinshi - http://ahkscript.org/boards/viewtopic.php?f=6&t=225 | |
| ; HotShow.ahk by RaptorX - http://www.autohotkey.com/board/topic/51641-hotshow-10-osd-hotkeys-for-video-tutorials/ | |
| ; TODO: icons from https://openclipart.org/detail/216312/mouse-right-click |