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
| 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 { | |
| ... |
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