IV Notes
  • Introduction
  • Programming
    • Cheatsheet: Option (in Rust) vs Maybe (in Haskell)
    • printf() and floating point numbers
    • More advanced aspects of pattern matching in Rust
    • time_it: a Case Study in Rust Macros
    • Rust Closures: Returning `impl Fn` for `move` closures
    • Allocation API, allocators and virtual memory
    • Checking status of Rust features
  • Game Development
    • 🐍Snake: an exercise in game development
  • Miscellaneous
    • Technical newsletters
  • Roguelikes
  • Travel
    • Torres del Paine
    • Tents
  • Bits and Pieces
    • Rust
    • Command line
    • GMail backup
    • Git
    • CSS
  • Audio/video encoding tips
    • Resizing video with ffmpeg
    • Mono to stereo
Powered by GitBook
On this page
  1. Bits and Pieces

Git

Useful commands which I had to google

  • To pull and merge master from origin without leaving the current branch: git fetch origin master:master

  • To push a new branch to origin (assuming it's checked out now): git push -u origin HEAD

PreviousGMail backupNextCSS

Last updated 5 years ago