I have a file of about 19500+ lines of code. I am doing work on this, and also my friend. We are not using SVN, Git or else.. Now i had done my changes.. How i merge my friends file in my file using Diff (or you suggest me) on some selected highlighted points. I want to ignore some changes from friend.
How to merge two files using Diff on some selected points?
931 Views Asked by Shahrukh At
1
There are 1 best solutions below
Related Questions in FILE
- Helpt with reading files
- Why can't I use the file pointer after the first read attempt fails?
- Can't read the file using std::wifstream C++
- How can the scanner reread the entire file after it has already executed hasNextLine once?
- What is 'Invalid Load Key, '\x00'
- php $_FILE variable undefined index
- Data loaded from the file is not returned in the correct order
- File splitting and encryption
- Optimizing an s5cmd command that uses awk to generate a text file
- segmentation fault while reading in text file ( c++ )
- File.OpenText is adding C:\ to the front which is an error
- UTF-8 issue with excel
- How to upload files to MediaWiki APIs in Rust?
- No such file or directory: '/tmp/tmp_ejr26m6.upload.mp3' in Django
- Problems accessing zip files on the react front end from express backend
Related Questions in NETBEANS
- entity classes are not showing when trying to create new session beans for entity classes in netbeans 9.0
- Cant connect to any github repository from my netbeans 20
- Set Netbeans Console to English
- How can I retrieves divs into a dynamic page in Java?
- how to create an sqldump file for backup in netbeans(java)
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0
- ERROR "java.net.URL.toExternalForm()" because "location" is null"
- NetBeans snap - Java configuration
- How can one set java.base/java.util=all-unnamed in Netbeans IDE
- Why my form glitch when I type someting to textfiled in java
- How do I fix Netbeans' invalid source release?
- Apache NetBeans 20: Apache Tomcat service doesn't stop when I try to stop it from the IDE
- I can't send attachment outside of NetBeans
- Does anyone know how to fix this error in Netbeans 19 to install JavaFX
- NetBeans: Unable to Create CUnit Tests - Grayed Out Menu Options
Related Questions in IDE
- Class disappears when switching from "Release" to "Debug"
- How can I transfer toolbar layouts between SSMS versions?
- GraalVM: Polyglot applications: Java classes in C++ IDE (including documentation, debug support etc.)
- What software can I use (if any) to embed URL links into a .mp4 file without paying for a subscription?
- How to fix lack of color contrast in VSCode selection tool?
- Spyder works, Anaconda cannot be opened
- Show all tabs and trailing spaces in Visual Studio 2022
- Using Azure DevOps Server 2022 (On-Premise) with Visual Studio Code for Java Project
- Git hooks in IntelliJ
- unable to integrate git in Intellij community version : Git is not installed Empty git --version output:
- I am getting this error using Eclipse : An error has occurred. See error log for more details. org/eclipse/egit/core/AdapterUtils
- After updating Visual Studio to v17.9.3 the IDE closes and dotnet.exe command reports Fatal error. Internal CLR error. (0x80131506)
- Are 'Two Normals' in VBA's project explorer a problem?
- No debugger via text IDE (Go32v2)
- "NoClassDefFoundError: org.bouncycastle.operator.OperatorCreationException when running Java code"
Related Questions in MERGE
- Purpose of last 2 while loops in the merge algorithm of merge sort sorting technique
- Having trouble merging these two datasets for a Spatial Analysis
- Merge Azure mp4 blobs via API (Preferred Azure)
- Git merge strategies vs. merge drivers vs. mergetools
- Merge Request in Bitbucket: Possible to exempt a specific branch to ask for Merge Request?
- How to properly extend the generic interface with a new generic parametr using decration merging in Typescript?
- Merge effective dated records of an attribute with the main effective dated table (SQL)
- How do I merge multiple tables into a new table in BigQuery?
- Exclude a file from merging to the main branch
- Usage of merge in linux sort utility
- How can I collapse repeated missing observations into a single nonmissing observation for the same ID in SAS?
- Best way to automate auto-merging git branches
- git: merging a branch that's already been merged by mistake
- Dynamically create, merge & save dataframes in a for loop
- VBA find matching Excel files with a subtext - and merge them into single new file
Related Questions in FILE-DIFFS
- Git: clarifying doc for how "patch id" is computed and how it may relate to git diff:
- Provide log if the two files are identical and has same contents in Java
- How to compare two files in Python and list how many lines are changed
- How to link external diff tool(beyond compare) in source tree?
- Difficulty understanding Paul Heckel's Diff Algorithm
- How to identify files updated outside of TFS
- compare two excel worksheet
- Compare files in two different directories in Linux
- How to compare the following file format?
- Java Program to View the file Diff
- What is the difference between binary and ASCII based file comparison?
- Copy only difference (kdiff, winmerge, any diff like tool)
- Output NUM (default 2) lines of unified context - what does it mean?
- ask github or sourcetree to ignore moved lines?
- Source-tree diff summary information
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use KDiff3 to do the merge operation. By default it will accept the changes done by both of your, but you can interactively select which version you want. If the common base you both have been working with is named
original.c, your versionyour.cand your friend'sfriend.c, then the commandwill start an interactive merge where you can select which of the changes you want to have or not.