Perhaps you have noticed the links to Github here and there on “The Howto”. The Github is a repository for code – and for keeping track of your versions of the code. So on Github you can follow your own development. Github is sort of social media for coders.

Setting up your own repository is easy. The somewhat harder part is to connect some of your directories to Github. First you have to install the Git. And then you can either use a GUI or just use commands from a terminal window.

I really like the last option.

If you work on several computers you can always have an updated code. You can even fork other peoples code – and make your own contributions to the work. So the Git is a tool for collaboration.

Git sample from a terminal window.

  • Line 1: add new or updated files. * is a wildcard.
  • Line 2: a message about the file revision.
  • Line 3: pushing the files to the repository.
git add *
git commit -m 'revised upload'
git push origin master
Enable Notifications OK No thanks

We use cookies - more information

Multimusen.dk will set a few cookies from Doubleclick, Google and the Social Media plugins they ay set some cookies. Some of my pages use APIs - such as YouTube, LinkedIn, Google Fonts, Google Maps, Mapbox, Spotify, Jetpack, Twitter, Facebook &c.. Such plugins may set the odd cookie.

Close