Skip to content

Zee's Blog

zee.balogh.sk

Menu

  • Projects
  • About

Git: Make branch become the master

git checkout better_branch
git merge --strategy=ours master    # keep the content of this branch, but record a merge
git checkout master
git merge better_branch             # fast-forward master up to the merge

Resources

  • https://stackoverflow.com/questions/2763006/make-the-current-git-branch-a-master-branch
  • https://www.atlassian.com/git/tutorials/using-branches/merge-strategy
  • https://stackabuse.com/git-merge-branch-into-master/
  • https://git-scm.com/docs/git-merge
Git: Make branch become the master
Tagged on: Git
admin 21.05.202021.05.2020 Uncategorized
  • ← VBoxManage: error: Resize medium operation for this format is not implemented yet!
  • Docket Cheet Sheet →

Search

Tags

Apache BlackList Business CentOS CheetSheet Cloud Conferences Containers Crisis Response Debian DIY DNS FileSystem Garden Git House Infrastructure JSON Letsencrypt Linux LVM LXC Magento Mail MailAdmin MongoDB msec MySQL NodeJS NoSQL OpenVZ OSX Perl Phalcon PHP Postfix proftpd Proxmox Research Security ShellScripting SSL Ubuntu VirtualBox Virtualization

webhosting

.host2u.sk

Please follow & like :)

RSS
Facebook
fb-share-icon
Twitter
Visit Us
Follow Me
Tweet
Share
Copyright © 2023 Zee's Blog. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.
  • Projects
  • About