Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

fatal: Not possible to fast-forward, aborting.

git pull --rebase 
git pull origin <branch> --rebase
Comment

fatal: not possible to fast-forward, aborting.

git pull --rebase. Unlike the other solution, you don't need to know the name of your destination branch.

If your upstream branch is not set, try git pull origin <branch> --rebase (credit to @Rick in the comments)
Comment

Not possible to fast-forward, aborting

If
git pull 
does not do the trick and if you want to merge both the current changes and the changes that'd come from the pull of the branch from origin then do this:-

git merge origin/BRANCH_NAME 
After that, resolve the merge conflicts if any and done for the day.
Comment

fatal: Not possible to fast-forward, aborting.

git pull --rebase. Unlike the other solution, you don't need to know the name of your destination branch.

If your upstream branch is not set, try git pull origin <branch> --rebase (credit to @Rick in the comments)

To set this option globally, use git config --global pull.rebase true (credit to @Artur Mustafin below)

# https://stackoverflow.com/questions/13106179/fatal-not-possible-to-fast-forward-aborting
//Answer taken from above link, please upvote his answer, if it works for you
Comment

fatal: Not possible to fast-forward, aborting.

try:  git pull origin <branch> --rebase
Comment

Fatal: Not possible to fast-forward, aborting

Your branch is no longer directly based off of the branch you're trying to merge it into - e.g. another commit was added to the destination branch that isn't in your branch. Thus, you can't fast-forward into it (because fast-forward requires your branch to completely contain the destination branch).

You can rebase your branch on top of the destination branch (git rebase <destination branch>) to rework the commits such that they will fast forward into it, or you can do a regular merge.
Comment

PREVIOUS NEXT
Code Example
Shell :: unetbootin ubuntu install 
Shell :: git show-branch tree command line 
Shell :: vue js version check 
Shell :: show all passwords linux 
Shell :: check if kubernetes is running 
Shell :: install filezilla ubuntu 
Shell :: clone a conda environment 
Shell :: setup node and mongodb on centos 7 
Shell :: count the number of lines in a git repository 
Shell :: duing push error: RPC failed; curl 18 transfer closed with outstanding read data remaining send-pack: unexpected disconnect while reading sideband packet 
Shell :: git show origin 
Shell :: install monodevelopment arch linux 
Shell :: add user to sudoers debian 
Shell :: pip missingno 
Shell :: restart network centos 
Shell :: login without a password is forbidden by configuration (see allownopassword) ubuntu 
Shell :: mkv to mp4 linux 
Shell :: install .net sdk on ubuntu 
Shell :: change remote url git 
Shell :: how to configure bluetooth on ubuntu command line 
Shell :: vlc popos 
Shell :: make all files in directory executable 
Shell :: how to check services running on port 8080 in linux 
Shell :: docker without sudo 
Shell :: stop rebase git 
Shell :: ufw config file location ubuntu 
Shell :: mamp connect to mysql 
Shell :: change process name pm2 
Shell :: metasploit install kali linux 
Shell :: how to swap ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =