Skip to content

Instantly share code, notes, and snippets.

@arjunKumbakkara
Last active March 14, 2019 06:33
Show Gist options
  • Save arjunKumbakkara/8fcd65f3291343e32ac54b48add3ab37 to your computer and use it in GitHub Desktop.
Save arjunKumbakkara/8fcd65f3291343e32ac54b48add3ab37 to your computer and use it in GitHub Desktop.
Git Steps with the same IDE (Eclipse, without a difftool,mergetool)
First go to the local repo which is project folder
1.git status
See the modified changes , now
2. Adding all files
git add .
Note:below only pushes the changes to local repo
3.git commit -m "Changes"
4.git pull
Below will then bring all the changes (Automerge happens), if any conflicts
If any conflicts found , Go to eclipse , change the code accordingly
(<<< will the outbound code (our new uncommitted code), ===== will be the commited to be merged code )
choice is made of the code .Same can be done with any difftool like MELD also.
then
Just checking again
5.git status
Add all the files (could have been changes)
6.git add .
7.git commit (optional)
To see if there is anymore conflicts
8.git pull
Finally pushing to remote Repository
9.git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment