This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout origin/dev app/Controller/AppController.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php -S localhost:8000 -t public/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// for migration | |
php artisan migrate | |
// for installing laravel passport package | |
php artisan passport:install | |
// for passport key | |
php artisan passport:keys | |
// Create data seeder seeder_name like TourTableDataSeeder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Command to see error log | |
tail -fn100 <log_file_directory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host file location | |
C:\Windows\System32\Drivers\etc\hosts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mysql Import command | |
$ cd xampp/mysql/bin | |
$ mysql -u root -p | |
$ use 'DB_name' | |
$ source D:\conchitavinas.sql | |
or | |
$ mysql -u root -p db_name < 'D:\database.sql' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To install Node Package Manager | |
$ npm install | |
To run bindu frontend project | |
$ npm run serve | |
To build bindu frontend project | |
$ npm run build | |
# OR | |
$ yarn serve |
OlderNewer