Answers for "git push develop branch to master"

39

git push to branch

# If its your first push
git push -u origin BRANCH

# Otherwise
git push origin BRANCH
Posted by: Guest on March-20-2020
2

merge master to dev branch

1. //pull the latest changes of current development branch if any        
git pull (current development branch)

2. //switch to master branch
git checkout master 

3. //pull all the changes if any
git pull

4. //Now merge development into master    
git merge development

5. //push the master branch
git push origin master
Posted by: Guest on August-01-2020
-1

git push in a new branch

git checkout -b <branch>
git add .
git commit -m "comment"
git push -u origin <branch>
Posted by: Guest on January-24-2021

Code answers related to "git push develop branch to master"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language