background preloader

GitHub Guides

GitHub Guides

Git for Windows Home On-Premise Source Code Management - 5 Git Hosting Platforms Compared Today, every company is a software company. In any industry, code has become one of the most business-critical assets. As a result, storing, securing and collaborating around code has become an important challenge for enterprises large and small. Read more → An Illustrated History of Mac OS X To celebrate the new "El Capitan", we've updated our popular infosite: "An Illustrated History of Mac OS X" takes you on a wonderful journey - through the history of both Mac OS and, well... big cats! Read more → App Design on Yosemite Mac OS X has hit the streets with its latest version - and so has Tower 2. Read more → 12 Git Hosting Services Compared Today, there are tons of services for hosting your Git repositories. Posting to Twitter, Facebook & Co. from Within Your App Do you want your app to post to social media platforms? Read more → Working with CodeKit and Git Bryan Jones, the creator of CodeKit himself, speaks to us. Read more →

Understanding the GitHub Flow · GitHub Guides GitHub Flow is a lightweight, branch-based workflow that supports teams and projects where deployments are made regularly. This guide explains how and why GitHub Flow works. Create a branch When you're working on a project, you're going to have a bunch of different features or ideas in progress at any given time – some of which are ready to go, and others which are not. Branching exists to help you manage this workflow. When you create a branch in your project, you're creating an environment where you can try out new ideas. ProTip Branching is a core concept in Git, and the entire GitHub Flow is based upon it. Because of this, it's extremely important that your new branch is created off of master when working on a feature or a fix. Add commits Once your branch has been created, it's time to start making changes. Commits also create a transparent history of your work that others can follow to understand what you've done and why. Open a Pull Request Discuss and review your code Deploy Merge

How to embed youtube video to markdown file, GitHub or GitLab comments · Sergei Sviridov's Blog I usually struggle to remember all the parameters for inserting links and especially images to the markdown which is the default format for GitHub, GitLab comments and documentation files and for this blog as well. Moreover, neither GitHub nor GitLab supports inserting videos. One of the workarounds for this issue with videos is to insert an image of for the video wrapped in a link pointing to the video location. ! whereas we use the following markup to insert links [link text]( "title") So, combining these two markups allows us inserting image with link to the markdown [! Good! Inserting youtube clickable image to markdown Let’s try to do the same thing with Audi R8 youtube video. First, we need to grab an image from the video. For Audi R8 video the image is going to be The only one thing is left, which is combining image with url [! Great! Automatic Conversion

git - petit guide - no deep shit! git - petit guide juste un petit guide pour bien démarrer avec git. no deep shit ;) par Roger Dudler (translation by KokaKiwi) Remerciements à @tfnico, @fhd, Namics this guide in english, deutsch, español, indonesian, italiano, nederlands, polski, português, русский, türkçe, မြန်မာ, 日本語, 中文, 한국어 installation Télécharger git pour Mac OSX Télécharger git pour Windows Télécharger git pour Linux créer un nouveau dépôt créez un nouveau dossier, ouvrez le et exécutez la commande git init pour créer un nouveau dépôt. cloner un dépôt créez une copie de votre dépôt local en exécutant la commande git clone /path/to/repository si vous utilisez un serveur distant, cette commande sera git clone username@host:/path/to/repository arbres ajouter & valider Vous pouvez proposer un changement (l'ajouter à l'Index) en exécutant les commandes git add <filename> git add * C'est la première étape dans un workflow git basique. envoyer des changements branches mettre à jour & fusionner tags remplacer les changements locaux

Reference Reference Quick reference guides: GitHub Cheat Sheet | Visual Git Cheat Sheet Complete list of all commands Setup and Config Getting and Creating Projects Basic Snapshotting Branching and Merging Sharing and Updating Projects Inspection and Comparison Patching Debugging Guides Email External Systems Administration Server Admin Plumbing Commands

Contribution à un projet La principale difficulté à décrire ce processus réside dans l’extraordinaire quantité de variations dans sa réalisation. Comme Git est très flexible, les gens peuvent collaborer de différentes façons et ils le font, et il devient problématique de décrire de manière unique comment devrait se réaliser la contribution à un projet. Chaque projet est légèrement différent. Les variables incluent la taille du corps des contributeurs, le choix du flux de gestion, les accès en validation et la méthode de contribution externe. La première variable est la taille du corps de contributeurs. Combien de personnes contribuent activement du code sur ce projet et à quelle vitesse ? La variable suivante est le mode de gestion utilisé pour le projet. La variable suivante est la gestion des accès en écriture. Toutes ces questions affectent la manière de contribuer efficacement à un projet et les modes de gestion disponibles ou préférables. Guides pour une validation Cas d’une petite équipe privée Note Résumé

Git - Rudiments de Git Donc, qu'est-ce que Git en quelques mots ? Il est important de bien comprendre cette section, parce que si on comprend la nature de Git et les principes sur lesquels il repose, alors utiliser efficacement Git devient simple. Au cours de l'apprentissage de Git, essayez de libérer votre esprit de ce que vous pourriez connaître d'autres VCS, tels que Subversion et Perforce ; ce faisant, vous vous éviterez de petites confusions à l'utilisation de cet outil. Git enregistre et gère l'information très différemment des autres systèmes, même si l'interface utilisateur paraît similaire ; comprendre ces différences vous évitera des confusions à l'utilisation. Des instantanés, pas des différences La différence majeure entre Git et les autres VCS (Subversion et autres) réside dans la manière dont Git considère les données. Figure 1-4. Git ne gère pas et ne stocke pas les informations de cette manière. Figure 1-5. C'est une distinction importante entre Git et quasiment tous les autres VCS.

git - the simple guide - no deep shit! git - the simple guide just a simple guide for getting started with git. no deep shit ;) by Roger Dudler credits to @tfnico, @fhd and Namics this guide in deutsch, español, français, indonesian, italiano, nederlands, polski, português, русский, türkçe, မြန်မာ, 日本語, 中文, 한국어 Vietnamese please report issues on github Infuse analytics everywhere with the AI-powered embedded analytics platform. setup Download git for OSX Download git for Windows Download git for Linux create a new repository create a new directory, open it and perform a git init to create a new git repository. checkout a repository create a working copy of a local repository by running the command git clone /path/to/repository when using a remote server, your command will be git clone username@host:/path/to/repository workflow add & commit You can propose changes (add it to the Index) using git add <filename> git add * This is the first step in the basic git workflow. pushing changes branching update & merge tagging log useful hints guides

Use SSH keys to communicate with GitLab Git is a distributed version control system, which means you can work locally, then share or push your changes to a server. In this case, the server you push to is GitLab. GitLab uses the SSH protocol to securely communicate with Git. What are SSH keys SSH uses two keys, a public key and a private key. The public key can be distributed.The private key should be protected. It is not possible to reveal confidential data by uploading your public key. You can use your private key to sign commits, which makes your use of GitLab and your data even more secure. For details, see Asymmetric cryptography, also known as public-key cryptography. Prerequisites To use SSH to communicate with GitLab, you need: The OpenSSH client, which comes pre-installed on GNU/Linux, macOS, and Windows 10.SSH version 6.5 or later. To view the version of SSH installed on your system, run ssh -V. Supported SSH key types To communicate with GitLab, you can use the following SSH key types: ED25519 SSH keys ED25519_SK SSH keys

Introduction à l'utilisation de Subversion Subversion (ou SVN) est un outil de gestion de versions concurrentes (et un concurrent de CVS :D). Cet article est une introduction rapide au fonctionnement de Subversion, ainsi qu'un petit mémento des commandes les plus fréquemment utilisées. Remarque: Cette page est une vulgarisation. Elle a pour but de donner une vision simple, sinon simpliste du fonctionnement de Subversion. Attention: Cette article est en cours de rédaction J'ai du publier cette article pour des raisons pratiques, il est incomplet et contient surement quelques erreurs. ps: oui Régis, tu as une raison de vivre, tu fait une très bonne raison pratique XD. Principe de fonctionnement Subversion est un outil de gestion de versions. Le dépôt Le dépôt est ce que l'on appelle parfois le "serveur" Subversion. ou : Subversion est associé à un serveur HTTP (Apache). Le dépôt utilise une base de donnée Bekerley (BDB pour les intimes) pour stocker les différentes versions de votre code source. Le client svn update

Related: