Using Git
Provides essential instructions and best practices for developers using Git to manage source code and contribute to MariaDB.
Getting the Source
git clone -b 10.5 https://github.com/MariaDB/server.gitSetup of git for MariaDB
git config --global user.name "Ivan Ivanov"
git config --global user.email "ivan@mariadb.com"git clone git@github.com:MariaDB/server.git
cd server
git checkout 10.5git config pull.ff only
git config --global alias.ff "merge --ff-only"Commit Comments
Branches
List Existing Branches
To Move to Work on a Specific Branch
Making a Local Copy of a Branch (Like bzr clone)
Remove Last Commit From a Branch
Fetch a Branch Someone Has Done a Rebase on
Other Things About Branches
Commit Emails
Attributing Code to Someone Else
Applying a Pull Request
Examples
Diff For Last Commit
Applying New Code From Main Tree to a Branch
Applying a Bugfix in the Main Branch
Dealing With Conflicts When One Tries to Push
Finding in Which MariaDB Version a Commit Exists
See Also
Last updated
Was this helpful?

