Skip to content

Instantly share code, notes, and snippets.

View davidraedev's full-sized avatar
💭
Busy Being Awesome

D davidraedev

💭
Busy Being Awesome
View GitHub Profile
@davidraedev
davidraedev / new-of-plugin-dev.markdown
Created March 1, 2020 04:47 — forked from fabiomontefuscolo/new-of-plugin-dev.markdown
Starting plugin development in Openfire

New Openfire Plugin

Install requirements

$ sudo pacman -S \
	intellij-idea-community-edition \
	jre8-openjdk \
	maven
@davidraedev
davidraedev / gitpushpull.md
Created April 18, 2020 09:11 — forked from taldanzig/gitpushpull.md
Make push/pull work with a remote non-bare repository

Make push/pull work with a remote non-bare repository

Sometimes it is necessary (and desireable) to work on a git repository on multiple development machines. We want to be able to push and pull between repositories without having to use an intermediary bare repository, and for this to work symetrically in both repositories.

First clone we clone an existing repository:

git clone ssh://user@hostname:/path/to/repo

By default this will name the remote as origin, but let's assume we want to reserve that name for a master repository that commits will eventually get pushed to: