You can use the editor on GitHub to maintain and preview the content for your website in Markdown files. Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.
Configurer en global ou local le nom et l'email
git config --global user.name "son nom"
git config --global user.email "[email protected]"
git init
git add _mesfichiers__
git commit -m "first commit"
Ajouter un dépot distant git clone https://distant sous-repertoire-local
depuis le répertoire parent.
Attention : Après le clonage d'un repo distant en cas de modification en local, ne pas oublier d'ajouter tous les fichiers git add fichiers
utiles puis commit -m "message
, avant de faire un git push ..
Mise à jour du dépot distant git push -u master
ou utiliser git pull
si le dépot distant est plus à jour.
La commande git fetch --all
télécharge sans fusionner les documents. Permet de connaitre l'état comparatif.
Pour les dépots git hub, il est nécessaire d'utiliser le logiciel console GH
$> apt instal gh
Les commandes sont différentes de git. $> gh auth login
, pour ajouter l'appareil au repository.
documentation Git Hub Cli
Syntax highlighted code block
# Header 1
## Header 2
### Header 3
- Bulleted
- List
1. Numbered
2. List
**Bold** and _Italic_ and `Code` text
[Link](url) and ![Image](src)
For more details see GitHub Flavored Markdown.
Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml
configuration file.
Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.