Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
git_tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orestis.malaspin
git_tutorial
Commits
c141fe97
Commit
c141fe97
authored
7 years ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
ajout dernier slide
parent
7e7ebb67
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
git_tutorial.md
+10
-4
10 additions, 4 deletions
git_tutorial.md
with
10 additions
and
4 deletions
git_tutorial.md
+
10
−
4
View file @
c141fe97
...
@@ -353,7 +353,6 @@ Changes to be committed:
...
@@ -353,7 +353,6 @@ Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
(use "git reset HEAD <file>..." to unstage)
deleted: premierfichier.c
deleted: premierfichier.c
[malaspor@perka tutorial]$ git commit -am "efface donc ce fichier"
[malaspor@perka tutorial]$ git commit -am "efface donc ce fichier"
[master 8f76d90] efface donc ce fichier
[master 8f76d90] efface donc ce fichier
1 file changed, 1 deletion(-)
1 file changed, 1 deletion(-)
...
@@ -366,9 +365,6 @@ total 0
...
@@ -366,9 +365,6 @@ total 0
## Commande: `git rm`
## Commande: `git rm`
-
Il n'est plus nécessaire de suivre un fichier.
-
**Attention**
: le fichier ne disparaît pas de l'historique.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{.bash .numberLines}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{.bash .numberLines}
[malaspor@perka tutorial]$ git reset bbb151324289dc2f85468f5721ec1021692dd216
[malaspor@perka tutorial]$ git reset bbb151324289dc2f85468f5721ec1021692dd216
Unstaged changes after reset:
Unstaged changes after reset:
...
@@ -391,7 +387,17 @@ total 0
...
@@ -391,7 +387,17 @@ total 0
total 4
total 4
-rw-r--r-- 1 malaspor malaspor 17 5 mar 11:13 premierfichier.c
-rw-r--r-- 1 malaspor malaspor 17 5 mar 11:13 premierfichier.c
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
% Reformatter ces slides en faire 3.
# Commandes et concept un peu plus avancés
Il existe une
**grande quantité**
de fonctionnalités non discutées ici:
1.
`.gitignore`
2.
`git branch`
3.
`git merge`
4.
`git trois lignes de commandes incompréhensibles que seul stackoverflow peut vous donner`
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment