Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. ## Scss compile
  2.  
  3. `sass --watch [folder name] --style compressed`
  4.  
  5.  
  6.  
  7. ## Git
  8.  
  9. ##### Clone a project
  10. `git clone [project url]`
  11.  
  12. ##### Branch list
  13. `git branch`
  14.  
  15. ##### Switch to branch
  16. `git checkout [branch name]`
  17.  
  18. ##### Create a branch
  19. `git checkout -b [branch name]`
  20.  
  21. ##### Delete a branch
  22. `git branch -D [branch name]`
  23.  
  24. ##### Submodule update
  25. `git submodule update --init -f --recursive`
  26.  
  27. ##### Get SSH key
  28. `ssh ~/.ssh/id_rsa.pub`
  29.  
  30.  
  31.  
  32. ## Gulp
  33.  
  34. ##### Run in development
  35. `gulp dev`
  36.  
  37. ##### Run in production
  38. `gulp prod`
  39.  
  40.  
  41. ## QA
  42.  
  43. ##### Connect
  44. `ssh root@qa.[aparat or filimo].com`
  45.  
  46.  
  47. ## PHP
  48.  
  49. ##### Serve
  50. `php sabalim serve`
  51.  
  52. ##### Install dependencies
  53. `composer install`
  54.  
  55. ##### Update dependencies
  56. `composer update`
  57.  
  58. ##### Set a get for url
  59. `isset($_GET['your_get_name'])`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement