Today I’ve faced problem with syncing two github repositories. Yes, I know, I shouldn’t keep two, but sometimes it’s difficult to avoid. Anyway, the problem is super easy to solve. It’s enough to edit `.git/config` by adding new remote:
url = email@example.com:user1/repo1.git
url = firstname.lastname@example.org:user2/repo2.git
Of course, more than two repos can be added. Then, after next push all repositories will be synced.
git push Origin master
Counting objects: 61, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (61/61), done.
Writing objects: 100% (61/61), 5.73 KiB | 0 bytes/s, done.
Total 61 (delta 41), reused 0 (delta 0)
8b97528..8aed8c2 master -> master
Inspired by ruiabreu.
Creating reference list is always a nightmare. Mendeley and its handy LibreOffice / OpenOffice plugin may be of great help to many. It was for me. Below, I’ll describe how to make it working.
# get & install mendeley from https://www.mendeley.com/download-mendeley-desktop/
# check version of your mendeley
# Help > About Mendeley Desktop
# clone repo and build plugin
git clone email@example.com:Mendeley/openoffice-plugin.git
python build.py 1.15.2 false
# add to LibreOffice
# Tools > Extension Manager > Add…
# and look for `Mendeley-1.15.2.oxt`
After OpenOffice / LibreOffice restart, you should see new bar. Note, in order for the plugin to work, Mendeley has to be running.
What’s great about this plugin, you can adjust citation style by just a few clicks by clicking on `Choose Citation Style`. There is quite extensive database of predefined citation styles, so adjusting the reference style to your favourite journal will take just a few seconds 🙂
More info about the plugin on github.