λ git stashSaved working directory and index state WIP on master: 5d4ad47 Merge branch 'feature/...' into 'master'Encountered 1 file(s) that should have been pointers, but weren't:public/apple-touch-icon.png
λ git pullUpdating 5a4ad44..b25f79derror: Your local changes to the following files would be overwritten by merge:public/apple-touch-icon.pngPlease commit your changes or stash them before you merge.Aborting
λ git lfs migrate importmigrate: Fetching remote refs: ..., donemigrate: Sorting commits: ..., donemigrate: Rewriting commits: 100% (0/0), donemigrate: Updating refs: ..., donemigrate: checkout: ..., done
λ git pullUpdating 5d4ad47..a25c79aFast-forwardpublic/apple-touch-icon.png | Bin 2092 -> 130 bytespublic/favicon.ico | Bin 6518 -> 1150 bytes2 files changed, 0 insertions(+), 0 deletions(-)
{git checkout xyz //check out to the respective branch in local repogit commit -m "commiting message" //commit changes if any, in local repo branch xyzgit pull //it pulls remote xyz branch into local xyz branch}
-r, --rebase[=false|true|merges|preserve|interactive]When true, rebase the current branch on top of theupstream branch after fetching. If there is aremote-tracking branch corresponding to the upstream
--autostash, --no-autostashBefore starting rebase, stash local modifications away ifneeded, and apply the stash entry when done
1. your local changes saved by `--autostash`2. your local commits saved by `--rebase`3. commits from upstream applied to your branch4. your local commits are restored on top of upstream5. your local changes are restored to working directory
[root@localhost www]# git pullUsername for 'http://159.65.151.11': amolPassword for 'http://amol@159.65.151.11':remote: Counting objects: 34, done.remote: Compressing objects: 100% (34/34), done.remote: Total 34 (delta 13), reused 0 (delta 0)Unpacking objects: 100% (34/34), done.From http://159.65.151.11/OpenCCf793c8e..b8fe60c v1.18.0_24Feb2022 -> origin/_v1.18.0_24Feb2022error: Your local changes to the following files would be overwritten by merge:cc/routes/web.phpPlease, commit your changes or stash them before you can merge.Aborting