Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
2017-F2-Forge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Youssef NIDABRAHIM
2017-F2-Forge
Commits
03c30178
Commit
03c30178
authored
7 years ago
by
NIDABRAHIM Youssef
Browse files
Options
Downloads
Patches
Plain Diff
Q2.2
parent
717b390a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
REDA_YOUSSEF.md
+30
-4
30 additions, 4 deletions
REDA_YOUSSEF.md
with
31 additions
and
4 deletions
.gitignore
0 → 100644
+
1
−
0
View file @
03c30178
file2ignore
This diff is collapsed.
Click to expand it.
REDA_YOUSSEF.md
+
30
−
4
View file @
03c30178
...
...
@@ -319,21 +319,47 @@ index 26d82fc..50663bf 100644
git diff
```
```
git add .
$ git add *
The following paths are ignored by one of your .gitignore files:
file2ignore
Use -f if you really want to add them.
```
> On commite cette étape Q1.15
```
git commit -m "Q1.15"
$ git commit -m "Q1.15"
[master 717b390] Q1.15
1 file changed, 168 insertions(+), 5 deletions(-)
```
##### 2. Les branches
0.
Créez une branche portant votre nom et basculer sur cette branche (dans la suite du TP cette branche est désignée par
`mybranch`
)
```
git branch reda_youssef
$ git branch reda_youssef
$ git checkout reda_youssef
Switched to branch 'reda_youssef'
M REDA_YOUSSEF.md
```
0.
Lister les branches locales et les fichiers présent dans le répertoire courant
`*`
```
git branch
$ git branch
master
* reda_youssef
```
```
$ git ls-files
REDA_YOUSSEF.md
start
```
```
$ git add .
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory.
```
>
```
```
0. Aficher le status de votre repo `*`
```
git status
...
...
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