background preloader

Your Cloud, Your Data, Your Way!

Your Cloud, Your Data, Your Way!

GitX (L) The Face of Geoff, Learning Git Introduction For the record, much of this is unabashedly lifted from Pro Git book I can’t even remotely suggest that this content is original to me. Sure, I’ve added my own two cents now and then, but do yourselves a favor and read the first three chapters of Pro Git . In fact, if any of this doesn’t make sense, it is probably because I haven’t correctly paraphrased Pro Git and you should just consult the book in that case. One thing you’ll definitively need to use Git locally is Git running on your computer. There are lots of tutorials and ways to do it, I think this tutorial will work or you can just go to the source and download the latest stable release of Git. The other item that you’ll likely find useful in using Git as well as for many other things, is a Dropbox account . Finally, this is not supposed to be a full explanation of how to use Git. Getting Started After installation of Git on your system you need to configure Git with identities for your machine: To get help: eg, Oooh.

Memeo Auto Backup Software | Memeo AutoSync | Memeo Share - Memeo.com How To Use Git To Version Your Writing If you are a writer you may have ran into this problem. You are writing like mad, moving things, changing the way something flows. As you are getting into it, you realize. Hey! This isn’t what I want to say at all! You feverishly tap CTRL + z (or Command + z for you Mac aficionados) and come to find that your favorite “no frills” text editor has lost your undo history or you aren’t quite sure where you want to go back to. Good for more than just development Git is a piece of software that allows the user to control the versions of files in a directory. Git is awesome for development. Git allows me to commit my writing every so often so I can get back to where I want to be. Let’s take a look at how you can use git to control your writing versions. Installation, Initialization, and committing I will be covering Windows and Mac here. To install git do the following: For Windows: Go to git-scm.com, click on the Windows link to the right and download the latest version. For Mac: And this on my Mac:

Chapitre 1. Introduction Je vais me servir d’une analogie pour présenter la gestion de versions. Référez-vous à la page de wikipedia sur la gestion de versions pour une explication plus censée. J’ai joué à des jeux vidéos presque toute ma vie. Par contre, je n’ai commencé à utiliser des systèmes de gestion de versions qu'à l'âge adulte. Je pense ne pas être le seul dans ce cas et la comparaison entre les deux peut rendre les concepts plus simples à expliquer et à comprendre. Pensez à l'édition de votre code, ou de votre document, comme s’il s’agissait de jouer à un jeu. Mais ceci va écraser l’ancienne version. Lorsque vous modifiez un document, dans le but de conserver les anciennes versions, vous pouvez l'"Enregistrer Sous…" un nom de fichier différent ou le recopier ailleurs avant de l’enregistrer. Rendons le problème légèrement plus coriace. Dans le cas de certains jeux vidéo, l’enregistrement d’une partie est réellement constitué d’un dossier rempli de fichiers.

Ground Up Mercurial Mercurial is a version control system. Developers use it to manage source code. It serves two important purposes: It keeps track of every old version of every file It can merge different versions of your code, so that teammates can work independently on the code and then merge their changes Without Mercurial, you could try to keep old versions just by making a lot of copies of the directory containing all your code: This is tedious, takes up a lot of disk space, and confusing. Most people work with Mercurial through the command line, which works on Windows, Unix, and Mac. Typing hg without anything else gives you a list of the most common commands that are available. To take advantage of version control, you needed a repository. In the old days, getting a repository was a big deal. c:\hginit> cd CountDown c:\hginit\CountDown> dir /w Volume in drive C has no label. … there’s my code, and you type hg init: creates a repository c:\hginit\CountDown> hg init c:\hginit\CountDown> a.txt Committing:

Git - Fast Version Control System

Related: