Note: The Listed platform will permanently shut down December 31, 2026. Your data published on Listed will still be available in your personal Standard Notes account. Learn more

Good Practice Working with Base Project

Regular Git commands in a project with only origin remote:

git merge
# Fix conflicts
git commit

However, when working with base project, there are the same files of different contents which lead to conflicts always when merge in to origin. The good practice is to use --no-commit and --abort with Git merge:

git merge base/dev --no-commit

# Total falure?:
git merge --abort

# Ok? checkout files supposed to be different:
git checkout [FILES]

# Fix other conflicts and:
git commit

Avoid merge back to base project, copy-paste to base if necessary, and base is merge out only, for safety.


You'll only receive email when they publish something new.

More from Arno
All posts