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
  • MacOS
  • Markdown
  • Matlab
  • Network
  • Octave
  • OpenSSL
  • Outlook
  • Reflection
  • Regex
  • SGX
  • Shell
  • SublimeText
  • TODO
  • Troubleshoot
  • Ubuntu
  • VMware
  • VSCode
  • Windows
  • clang
  • docker
  • fcitx
  • git
  • mosh
  • ohmyzsh
  • tmux
  • xargs

Tag Cloud

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

Archives

  • 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

  • Visual Studio Code Good Plugins
  • Use ISO as Apt Repository
  • Ubuntu Software Dependencies
  • Assign Static IP for VMware Fusion
  • tmux with mosh
© 2019 Rundong Zhou
Powered by Hexo
Home Archives