Reset
You can reset the commit for a local branches using git reset
To change the commit of a local branch:
git fetch
git reset origin/master --hard
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
| Step 1: | |
| Add below line in your start script command in package.json | |
| "start": "webpack-dev-server --https --env.apiBaseUrl='https://yourdomain.com/' --config webpack.config.js" | |
| Step 2: | |
| After above changes, change your webpack.config.js as below: | |
| module.exports = function({ apiBaseUrl = "https://yourdomain.com/" }) { | |
| return { | |
| ... |