noganno
11/22/2018 - 10:14 AM

отправка данных в свою ветку

#info

git checkout -b edv // создадим ветку edv
git push -u origin edv // отправим данные в эту ветку 


calculator
git submodule update --init
npm install
npm run build
npm run watch

eroom
npm install -g gulp
gulp build
gulp

ulisting
git submodule update --init
npm install
npm run dev

homepress
npm up
gulp default

plugins_loaded
shutdown

git apply --cached

git diff -w --no-color | git apply --cached --ignore-whitespace && git checkout -- . && git reset && git add -p

какие файлы изменились с момента, когда они отклонились от master
git diff --name-only master...

Создать ветку в битбакете через мастер
git fetch
git pull

Увидеть конфликты
git pull --rebase origin master

Удалить последний коммит
git reset --hard HEAD~1
git push -f

UPDATE staging_swa_options SET option_value = replace(option_value, 'https://islandev.com', 'http://islandev.loc') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE staging_swa_posts SET guid = replace(guid, 'https://islandev.com', 'http://islandev.loc');
UPDATE staging_swa_posts SET post_content = replace(post_content, 'https://islandev.com', 'http://islandev.loc');