Notifications
Clear all
May 27, 2024 5:54 am
Instead of refreshing your developer sandbox every time you work on a new ticket, how can you use a dev repo to update your sandbox so you have the latest code from everyone else too?
1 Reply
May 27, 2024 6:18 am
When you want to work on a new jira ticket, change from branch to local master. Then do a:
git fetch
git reset --hard origin/master
Remember this will replace all your local changes from remote master keeping you up to date with remote master. Make sure you don't loose any needed local changes so be sure to add/commit/stash any work-in-progress first or make sure you have pushed your local changes to remote already. Then do a:
sf project deploy start
to deploy the latest files to your default dev sandbox.