Skip to content

Instantly share code, notes, and snippets.

View bldcode's full-sized avatar

Bijoy Dewanjee bldcode

  • Devnet Limited
  • 9th Floor, BDBL Building, Kawran Bazar, Dhaka.
View GitHub Profile
For creating upstream
git remote add upstream git@bitbucket.org:exelon/<your_upstream_repo>.git
For set origin
git remote set-url origin git@bitbucket.org:bldsource/<your_local_repo>.git
git pull upstream dev
@bldcode
bldcode / Date Format in MYSQL
Created January 19, 2020 08:21
Date Format in MYSQL
SELECT DATE_FORMAT(FROM_UNIXTIME(t.date), '%e %b %Y %h:%i:%s %a') AS 'date_formatted', t.*
FROM table_name t
ORDER BY t.id DESC
@bldcode
bldcode / Release on server with tag creation
Last active January 19, 2020 08:18
Release on server with tag creation
In bitbucket.com/github.com/gitlab
// create a pull request from dev to master in bitbucket
In Local GIT Bash
git pull upstream master
git tag // show all tag
git fetch --tags // fetch all tag
git pull // for update
git fetch --all // fetching all from server
git tag <new_tag_name> // create a tag