Skip to content

Instantly share code, notes, and snippets.

Set-up remote git repository on a standard server

The first thing to do is to install Git on the remote server.

Once you do that the rest of the process is split into three sections:

  1. Server set-up
  2. Local set-up (push commits)
  3. Server (pull commits)
#!/bin/bash
# Modified for Arch Linux from ChrUbuntu's cros-haswell-modules.sh
# for kernel 3.14.x
set -e
# Create a temp directory for our work
tempbuild=`mktemp -d`
cd $tempbuild
U+E500 for playing
U+E501 for paused
U+E502 for stopped
U+E503~U+E50B for progress (0..8)
U+E50C for mute
U+E510~U+E513 for signal (0..3)
@cnphil
cnphil / keybase.md
Created May 28, 2015 05:25
keybase verification

Keybase proof

I hereby claim:

  • I am cnphil on github.
  • I am xiaojun (https://keybase.io/xiaojun) on keybase.
  • I have a public key whose fingerprint is 6D32 627C AC54 1E2E D961 DB6A 93F9 9B35 8C48 E444

To claim this, I am signing this object: