Git commands
Git commands
git stash
git stash -u
// If added new folder
git stash apply
Git commits:
git status
- to check which branch you're on and lets you see if you have changes on your
local.
Create branch:
git checkout -b branch_name
To push:
git add .
git commit -m "msg here"
git push origin branch_name
force push:
git push --force origin <branch-name>
To pull:
git pull origin master/branch_name
To clone:
git clone repo_link
composer install
// to run artisan
ex: http://localhost:8000/api/v1/account/login
// after 8000 put directory from router web.php