XBlog

Home Archives
2018-04-22

Git Rebase

1
2
3
4
5
6
7
8
# git pull is always equivalent to git pull --rebase (unless branch.<branchname>.rebase is explicitly set to false)
git config --global pull.rebase true

# Force existing branches to use rebase.
git config branch.<branchname>.rebase true

# Force new branches to use rebase
git config --global branch.autosetuprebase always
Share
  • git
Newer
tmux with mosh
Older
Good Terminal Tools

Tags

  • ADB
  • Android
  • Cryptography
  • Cygwin
  • GCC
  • HTTPS
  • Hexo
  • Java
  • JavaScript
  • KeyStore
  • Linux
  • MacOS
  • Markdown
  • Matlab
  • Network
  • Octave
  • OpenSSL
  • Outlook
  • Reflection
  • Regex
  • SGX
  • Shell
  • SublimeText
  • TODO
  • Troubleshoot
  • Ubuntu
  • VMware
  • VSCode
  • Windows
  • clang
  • docker
  • fcitx
  • git
  • ipv4
  • ipv6
  • mosh
  • ohmyzsh
  • tmux
  • xargs

Tag Cloud

ADB Android Cryptography Cygwin GCC HTTPS Hexo Java JavaScript KeyStore Linux MacOS Markdown Matlab Network Octave OpenSSL Outlook Reflection Regex SGX Shell SublimeText TODO Troubleshoot Ubuntu VMware VSCode Windows clang docker fcitx git ipv4 ipv6 mosh ohmyzsh tmux xargs

Archives

  • September 2022
  • July 2022
  • August 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • January 2018
  • December 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • September 2016

Recent Posts

  • Prefer ipv4 over ipv6 on Linux
  • Great App Launchers for Linux/MacOS/Windows
  • How to Disable Show More Options in Context Menu of Windows 11
  • How to Quickly Open Specific Control Panel Options
  • Add Xiaohe Shuangpin for Microsoft Pinyin
© 2022 Rundong Zhou
Powered by Hexo
Home Archives