-
Notifications
You must be signed in to change notification settings - Fork 2
GitHub
offirmo edited this page Dec 1, 2017
·
13 revisions
Voir aussi git, module web.
- Très bonne doc https://github.com/tiimgreen/github-cheat-sheet
- http://tom.preston-werner.com/2011/03/29/ten-lessons-from-githubs-first-year.html
- http://stackoverflow.com/questions/11301244/web-api-like-github-rest-api-for-a-personal-git-server-repo-to-enable-git-log
Fonctions manquantes :
- TOC
- anchors
- section modification
- alias/redirection
- d' i18n
-
voir aussi jekyll
-
themes https://github.com/blog/2464-use-any-theme-with-github-pages
-
https://help.github.com/articles/further-reading-on-github-pages/
-
!!! attention site racine et sites de projets
Custom domain
- https://help.github.com/articles/using-a-custom-domain-with-github-pages/
- aide http://stackoverflow.com/questions/9082499/custom-domain-for-github-project-pages
HTTPS
outils :
- https://help.github.com/articles/be-social#pull-requests
- https://github.com/blog/2111-issue-and-pull-request-templates
+++ http://tholman.com/github-corners/
https://github.com/tylucaskelley/github-templates
Git cherry-pick from another repository https://coderwall.com/p/sgpksw
- avoir une deuxième paire de clés dans .ssh
- trafiquer son .git/config
Plusieurs clés :
-rw------- 1 id_rsa
-rw-r--r-- 1 id_rsa.pub
-rw------- 1 id_rsa_offirmo
-rw-r--r-- 1 id_rsa_offirmo.pub
Puis dans .ssh/config :
1. pro account
Host pro.github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa
IdentitiesOnly yes
1. offirmo account
Host offirmo.github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_offirmo
IdentitiesOnly yes
Trafiquer son git/config :
[remote "origin"]
url = git@offirmo.github.com:Offirmo/html_tests.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[submodule "incubator/base-objects.js"]
url = git@offirmo.github.com:Offirmo/base-objects.js.git
[user]
name = Offirmo
email = offirmo.net@gmail.com
[github]
user = Offirmo
ssh -T git@github.com
Hi Offirmo! You've successfully authenticated, but GitHub does not provide shell access.
Tant que ça ne marche pas, pas la peine d'aller plus loin.
git a transformé l'url en http au clonage :-(
http://stackoverflow.com/questions/29297154/git-invalid-username-or-password