If you are working on your project and ready to merge your release branch into master (production) then you can follow the below steps in git command line,
Step 1: Make sure your code is committed on your release branch, of the feature branch that you are going to commit to master.Step 2: Move current project to master branch
# git checkout master
Step 3: Merge your branch to master branch
# git merge release-branch
Step 4: Commit the branch into master branch
# git commit -a
❗️Though we do not encourage to make use of the words master/slave as we really care about Diversity and Inclusion, this article is just for demonstration purpose and encourage everyone to make use of alternate words for repos like production/staging
- [Fixed] Git Clone git@github.com: Permission denied (publickey) Could not read from remote repository Fatal error
- Github: How to Invite Collaborators
- Git Commit - Author identity unknown, Please tell me who you are email
- [Solution] fatal: not a git repository (or any of the parent directories): .git
- [fix] zsh: command not found: git
- Github: fatal: Authentication failed Support for password was removed on August 13, 2021
- Get List of all local branches git command
- Git Revision Questions Before the Interview
- git fatal: Authentication failed error [fix]
- How to Install Git on Ubuntu Linux
- GitHub: How to Search Code
- How to change Git Default Author and Committer details in Eclipse
- How to check your installed version of Git
- Install GitHub Command Line Tool on Mac
- How to Merge Branch into Master Branch
- Perform an Empty Commit in Git without anything in Staging Area
- Git Fix: fatal: refusing to merge unrelated histories Error
- How to undo last Git Commit on Local Repository?
- git command to remove/unstage files from staging area
- Step-by-Step: Setting up Docker + Ubuntu Linux + Git + GitHub Tutorial
- Remove git config at Local, Global or System Levels?
- Fix [oh-my-zsh] Cant update: not a git repository
- Git Config Command - A Deep Dive
- fatal: Unable to create '/c/git_repo/.git/index.lock': File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier.
- How to change directory in Git bash
- JSON Tutorial: List of Lessons - Json-Tutorial
- SQLite Error: unknown command or invalid arguments: open. Enter .help for help - Android
- How to create a Java Project as a Git Repository with IntelliJ - Java
- Simple Crossword Puzzle example using Pure HTML, CSS and JavaScript - Html
- Office.com downloading zero byte file name prelanding on Safari browser - Windows
- How to show or hide columns in SharePoint Online List Library from - SharePoint
- Step-by-Step: How to install Flutter in Android Studio - Android-Studio
- Fix Python WARNING: You are using pip version 19 however version 21 is available - PIP