If you want to keep your working changes while performing a rebase, you can use --autostash
. From the documentation:
Before starting rebase, stash local modifications away (see git-stash[1]) if needed, and apply the stash when done.
For example:
git pull --rebase --autostash
More Related Contents:
- Should I check in folder “node_modules” to Git when creating a Node.js app on Heroku?
- Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly
- Does “git fetch –tags” include “git fetch”?
- How to link a folder with an existing Heroku app
- Cannot push to Heroku because key fingerprint
- heroku: src refspec master does not match any
- How can I deploy/push only a subdirectory of my git repo to Heroku?
- How to pull specific directory with git
- Pull a certain branch from the remote server
- Trying to git pull with error: cannot open .git/FETCH_HEAD: Permission denied
- Getting an error pushing to github – Updates were rejected because a pushed branch tip is behind its remote
- failed to push some refs to [email protected]
- Heroku: How to push different local Git branches to Heroku/master
- Delete local Git branches after deleting them on the remote repo
- How can I make my local repository available for git-pull?
- Create new pull request from fork without having commits of the previous fork
- After git push heroku – uploaded files on Heroku are lost
- How to undo a git pull?
- git push heroku master says “Everything up-to-date”, but the app is not current
- Why do I obtain this error when deploying app to Heroku?
- Pushing to github after a shallow clone
- Error in git push heroku master through ssh behind proxy
- ‘git push heroku master’ is still asking for authentication
- What is the reason for “Procfile declares types -> (none)” in Heroku?
- When will `git pull –rebase` get me in to trouble?
- How to push different local Git branches to Heroku/master
- Checking out old files WITH original create/modified timestamps
- Is it possible to include a file in your .gitconfig
- How can I archive git branches?
- Git: add vs push vs commit