Переходимо в master
і витягуємо останні зміни
git checkout master
git pull
На основі master
створюємо новий тимчасовий бранч
/** | |
* componenets.pager | |
* Pagination component | |
* | |
* @example | |
* var pager = new SPG.components.pager({ | |
* itemsQuantity: 1000, | |
* itemsPerPage: 10, | |
* displayPagesQuantity: 7, | |
* currentPageNumber: 1, |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<script src="http://documentcloud.github.com/underscore/underscore-min.js"></script> | |
<script src="http://documentcloud.github.com/backbone/backbone-min.js"></script> | |
</head> | |
<body> | |
<script> | |
var Model = Backbone.Model.extend({ |
var LUA_GETS = | |
'return {' | |
+ 'redis.call(\'get\', KEYS[1]),' | |
+ 'redis.call(\'get\', KEYS[1]..\'_ver\')' | |
+ '}'; | |
var LUA_CAS = | |
'local ver = redis.call(\'get\', KEYS[1]..\'_ver\') ' | |
+ 'if not ver or ver == KEYS[3] ' | |
+ 'then ' |
.block__element_modifier { | |
/* visibility */ | |
display: block; | |
visibility: visible; | |
overflow: hidden; | |
/* positioning */ | |
position: absolute; | |
z-index: 1; | |
left: 0; |
Переходимо в master
і витягуємо останні зміни
git checkout master
git pull
На основі master
створюємо новий тимчасовий бранч