Git-merge Questions
Ad
Problem after git merge: unable to pull because unfinished merge and no staged files
I have merged a branch to master on github and wanted to do a git pull locally after that. when i did a git pull it asked me to commit changes, so
How do I fix merge conflic in pubspec.yaml and pubspec.lock?
I stashed the recent change i have on my local machine, and then pull from the remote repository. along the way, i encounted the below error. how
Github - Old commits shows up in new pull request
I created branch a of master branch. i made changes and raised pull request to master branch. when i open new pull request to master
git merge in vscode wipes out code on master without merge conflict
My problem is that when try to do a simple git merge the branch that i am merging into loses entries but there is no merge conflict - just lost
How merge with master without conflict after rebase in feature branch?
I plan on creating a feature branch, and in addition to the new commits in the feature branch, i might also make file edits to an older commit in
detect git conflict markers in committed code
Requirements inside a pipeline after code has been committed and pushed, i am looking to detect merge conflicts is
finish git rebase operation after conflict
For my job i need to do a git rebase of my feature branch onto the development branch. these are my commands thus far to prepare the
Documentation of Default Target of "git merge --squash"
Sometimes i squash a bunch of commits together. usually my commands follow this pattern: git reset --hard head~4 git merge --squash
Is there a way to specify a default option for merging a pull request in GitHub?
I'm working on a project where "squash and merge" is the preferred approach for merging pull requests. is there a way to make this the default
How to see changed files after calling git fetch
If two people are working on the same repository on github and the same branch master. then say person a pushes their change to master and i as
Ad
How can I get git rebase to complete after I resolve conflicts
I've just tried to rebase some changes i'm submitting to a remote repository, and can't get it to complete after i resolve conflicts. i tried to
Ignore whitespace for only certain file extensions when merging
I have this command git merge -xignore-all-space origin/dev scares me a little bit b/c i am afraid of merging a
Git merge does not deleting files from another repository
Two repositories exist: rep1, rep2. both are results of one-way syncs from the same svn instance. (the changes in svn are synched to git, but the
Git: how to "paste" instead of merge a branch
Git philosophy question: are "ancestry" and "history" (a.k.a. chronology) distinct things?... behold, i have the following git
Git: How can I split a branch by file (not by commit)?
Bottom line: i want to split up a pull request into two smaller pull requests with different subsets of files. i do not
Fetch and Merge into all Branches at once from Upstream Repository
I have a github fork, which i have cloned onto my computer. on the original project, i have opened many prs, and each of them correspond to their
Fetch opened merge requests from git remote, especially from GitLab
In gitlab documentation described a nice way to
Merge git repositories without common history, but with common files
I have to merge two separate git repositories orig and work. work was created as a derivative of a subdirectory of orig, with some experimental
Possible issue after doing `Squash and Merge`?
I used squash and merge for merging dev branch into main because i didn't want some of the commit messages
Make a snapshot of working directory with git
I sometimes need to make a snapshot of the current (possibly dirty) working directory. git stash save -u is very similar to what i
Merge issues contributing to a github repo with 100s of contributors
I tried to commit to a public github repo, basically what i did was: - fork the project's (master branch) - made my changes and
Ad
Why does git merge-base only return one commit in this case?
Consider the merge-bases of branches b and a in the following map: a0---------a1--a (topic) / \ / ---m0--\--m1--m
Confusion about Git command: git diff origin <branch> HEAD
1 to 2 weeks ago, i found a reference on the web, saying that this command: $ git diff origin <branch> head
Should a feature branch of forked repository ever be merged to origin main?
Let's consider, 3 people are working in a project and they are using git. can the project repository be in any one of their github
How can I keep the latest commits to avoid merge conflicts?
I'm doing a rebase and i want to keep always the changes made in the latest commit to avoid having to resolve the conflicts manually.
How to do a two-way merge of file contents with GitHub PR?
In github, how can i do a two-way merge in a pr so any lines in the target branch not explicitly deleted in the source branch are not removed?
How to proceed with git push when getting "rejected" and "<filename>: needs merge"?
Within project, someone pushed new files, i didn't pull them, then i've added new files, commited and then tried to push it to main.
Can GitLab handle multiple changes to a file
I have a scenario where one developer created a branch, made changes to a file and submitted changes to git. at the same time another developer
Proper way to merge dev into main branch
I am working in a company and we decided that we want to use git more properly. i am responsible for integrating dev branch into main branch, and
merging from one feature branch to another after squashes
My team likes to have a "clean" git history, and likes commits to be squashed before i request a code review. one aspect of this workflow i'm
Update master branch using another branch which doesn't have all the files master contains?
I am new to git and this is my situation: i have two branches: master - contains
Git Merge Fast-Forward vs Git Rebase
What is the difference between a fast-forwarded git merge and a git rebase? don't both accomplish keeping history linear
Ad
How to find out from the git log who opened a pull request on GitHub
Is there a way to find out from the git log the person who opened the pull request on github? i am not looking for the person who merged
Git: Why does previous fetch+merge commit disappear after fetch+rebase
Tl;dr: if i fetch remote changes into a local git repo, then do a merge, and some time later i fetch some new changes, but this
How to find which flags were applied to git merge
It appears that a git merge commit clobbered changes i made on one parent. specifically, one parent contained a change (removing some lines from a
Ios git merge conflict in xCode
I have two branches in my project, one is develop and other is master, accidently without
How to find merge commits in history done using "git merge -s ours" option?
Misusing the "-s ours" merge option when merging origin/develop into local develop essentially throws away work done since the last time develop
Conflict during git revert on a single file
I'm using git revert on a very basic use case, in order to learn how it really works, but i'm facing the following issue. i've read a couple of
How can I solve this GIT issue in IntelliJ? My HEAD master* node is "go over" the remote origin/master
I am working on a project using intellij as ide and git as repository. i have the following problem:
git: how to be able to switch branches again
I had a lot of uncommitted changes, which is bad practice. i have tried to slowly commit all my important changes. i was trying to
Merge a commit from a branch in repositoryA to a branch in repositoryB
Assuming i have two repositories called repositorya and repositoryb. i need to merge a commit abcdefgh
Why does merging these branches do nothing?
Short version: i have two branches with different contents. when i am in one branch and do a merge from the other, it
Ad
How to merge a git repo into a parent repo maintaining commit history?
I have always kept track of files in the child repo. but now i also need to keep track of another child, so i renamed
How to prevent merge from falling back to normal merge strategy when a fast-forward merge is not possible?
The git merge command has an option to perform fast-forward merge, but this is not what i want, because if it can't do a fast-forward
Git creates a merge commit although it performs a fast-forward merge
I'm merging a hotfix branch into master. when i do a simple git merge hotfix-2.09 the merge fast-forwards but i'm getting a
Why does git perform fast-forward merges by default?
Coming from mercurial, i use branches to organize features. naturally, i want to see this work-flow in my history as well. i started my
Git branch has diverged after rebase, so why rebase?
Recently i came across the notification that my branch has diverged. that was when i made a feature branch, pushed it to remote, and did a rebase
Git Branches - Ignore File in Merging
Say i have two branches, master and staging, and i would like to have two different versions of /robots.txt
Git pull asks me to write merge message
I pull from my branch: git checkout mybranchsample git fetch git pull origin master then, git
How git-merge and git-rebase behave with a topic branch forked off of another topic branch?
Let us suppose the repository looks like this: master | a--b--c--k--l--m e-f-g
Git : Merge multiple commits from one branch into another
I have following use case. i have a mainline branch. created new branch(dev) from mainline. did
Does git rebase create more conflicts than git merge?
Is it true that git rebase is more prone to conflicts than git merge? i have heard that before and it is referenced in
Ad
Sourcetree: Find out if a branch is merged
How can i know if a branch (or commit) is merged in sourcetree? when using gitk --all, it will show for a commit (or branch)
Ad
Blog Categories
Ad