Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
COURS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
RICHI Nabila
COURS
Commits
6231fcf7
Commit
6231fcf7
authored
2 years ago
by
FILIPPONE Jerome
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
165f8f00
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
seance04.txt
+40
-0
40 additions, 0 deletions
seance04.txt
with
40 additions
and
0 deletions
seance04.txt
0 → 100644
+
40
−
0
View file @
6231fcf7
filippon1@ThinkPad:~$ cd
filippon1@ThinkPad:~$ mkdir EX04
filippon1@ThinkPad:~$ cd EX04
filippon1@ThinkPad:~/EX04$ git config --global --get-all credential.helper
store --file ~/.git-credentials
filippon1@ThinkPad:~/EX04$ ls -l ~/.git-credentials
-rw------- 1 filippon1 filippon1 56 nov. 24 04:39 /home/filippon1/.git-credentials
filippon1@ThinkPad:~/EX04$ git clone https://gitlab.univ-lorraine.fr/filippon1/projet1.git
Cloning into 'projet1'...
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 26 (delta 2), reused 0 (delta 0), pack-reused 15
Receiving objects: 100% (26/26), 11.12 KiB | 11.12 MiB/s, done.
Resolving deltas: 100% (6/6), done.
filippon1@ThinkPad:~/EX04$ ls -l
total 4
drwxrwxr-x 3 filippon1 filippon1 4096 nov. 24 06:49 projet1
filippon1@ThinkPad:~/EX04$ cp -R projet1/ projet1_dev1
filippon1@ThinkPad:~/EX04$ cp -R projet1/ projet1_dev2
filippon1@ThinkPad:~/EX04$ cp -R projet1/ projet1_dev
filippon1@ThinkPad:~/EX04$ ls -l
total 16
drwxrwxr-x 3 filippon1 filippon1 4096 nov. 24 06:49 projet1
drwxrwxr-x 3 filippon1 filippon1 4096 nov. 24 06:50 projet1_dev
drwxrwxr-x 3 filippon1 filippon1 4096 nov. 24 06:49 projet1_dev1
drwxrwxr-x 3 filippon1 filippon1 4096 nov. 24 06:50 projet1_dev2
filippon1@ThinkPad:~/EX04$ cd projet1_dev1
filippon1@ThinkPad:~/EX04/projet1_dev1$ git branch -a
* main
remotes/origin/HEAD -> origin/main
remotes/origin/dev
remotes/origin/dev1
remotes/origin/dev2
remotes/origin/main
remotes/origin/test
filippon1@ThinkPad:~/EX04/projet1_dev1$ git checkout dev1
Branch 'dev1' set up to track remote branch 'dev1' from 'origin'.
Switched to a new branch 'dev1'
filippon1@ThinkPad:~/EX04/projet1_dev1$
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