-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
beginning of git/github slides to prez
- Loading branch information
1 parent
b5984d7
commit aea6617
Showing
8 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
$background:#4d7e65$ | ||
$transition:slide$ | ||
$background-transition:zoom$ | ||
|
||
# Git | ||
|
||
### organiser son code et son travail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
$background:#4d7e65$ | ||
|
||
# Git / GitHub | ||
|
||
**Git** : gestionnaire de version (sur votre ordinateur) | ||
|
||
**GitHub** : plateforme de collaboration (sur le cloud) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$background:#4d7e65$ | ||
|
||
Git évite de dupliquer du code pour le versioner, permet de revenir en arrière et surtout permet de toujours savoir où on en est. | ||
|
||
Outils indispensable pour organiser son travail sur un gros projet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$background:#4d7e65$ | ||
|
||
GitHub permet de s'échanger du code, de travailler à plusieurs sur un même projet et de communiquer sur les problèmes. | ||
|
||
GitHub permet en outre de déployer des services et de recruter. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
$background:#4d7e65$ | ||
|
||
## Environnement de travail | ||
|
||
* **Editeur** : [Atom](https://atom.io/), [Sublime](http://www.sublimetext.com/3) | ||
* **Console** : iTerm2 (Mac), [ConEmu](https://conemu.github.io/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
$background:#4d7e65$ | ||
|
||
## Configurer git | ||
|
||
<style>pre{background: #3f3f3f;}</style> | ||
|
||
````bash | ||
# dans le cas où vous êtes derrière un proxy | ||
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080 | ||
git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080 | ||
|
||
# si vous ne l'avez jamais fait auparavant | ||
git config --global user.name "Your Name" | ||
git config --global user.email "your_email@whatever.com" | ||
|
||
# pour windows | ||
git config --global core.autocrlf true | ||
git config --global core.safecrlf true | ||
```` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
$background:#4d7e65$ | ||
|
||
## Init | ||
|
||
<style>pre{background: #3f3f3f;}</style> | ||
|
||
````bash | ||
# créer un dossier | ||
mkdir testgit | ||
# s'y déplacer | ||
cd testgit | ||
# initialison git | ||
git init | ||
```` | ||
|
||
ce qui crée un dossier `.git` contenant tout ce qui concerne git. C'est léger. |