A simple and quick command to use Git installed on a company server. In this example, the Git server is accessible at https://my-git.my.company.org and the working directory is located on the development server DEV-SRV-0033. Create a repository on Git serverCreate your repository on https://my-git.my.company.org/For example in https://my-git.my.company.org/fallout/vault-tec Clone the directory on your work serverConnect to DEV-SRV-0033 and go to your development server and your home directory: [
Subversion (en abrégé svn) est un logiciel de gestion de versions, distribué sous licence Apache Créer une copie d’arborescenceCréer une copie non versionnée d’une arborescence : # svn export https://domain.org/le/chemin/vers/backup-1.6/ Créer un nouveau répertoire et le placer en gestion de versions : # svn mkdir -m "Update scripts" https://domain.org/le/chemin/vers/backup-1.7 Extraire une copie de travail à partir d’un dépôt (co = checkout) : # svn co https://domain.org/le/chemin/
Notes rapides sur le déroulement des comits, création de brouillon, “set pages”, Git, PHPStorm et Hexo. Lancer le serveur hexo server --drafts ou hexo server --posts Création de page Créer une page.md dans /draft hexo publish mapage Utilisation de git git status git add . ou git add monFichier git status git commit -m "Raison" git status git push [sur la branche master] Buiding du projet (sur la branche de production) hexo clean && hexo deploy Sur le serveur # git p
AboutThis Hexo static site generator has been versioned on Gitlab with a git submodule based on Hexo-Hueman theme. This topic deals with : a local machine where your project will be created and maintained. a remote production web-server with Git installed. Requirements Install on your local machine : Node.js + Yarn + Git. Hexo CLI : npm install -g hexo-cli. Install Git on your production server . SetupWe have to maintain two repositories for this project : theme (A) and Hexo one (B). A. Cus