Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
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
Container Registry
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
aeac1027
Commit
aeac1027
authored
4 years ago
by
Quentin Duchemin
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://gitlab.utc.fr/picasoft/projets/dockerfiles
parents
f5769836
c0a24885
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
docker_test.sh
+2
-2
2 additions, 2 deletions
docker_test.sh
with
2 additions
and
2 deletions
docker_test.sh
+
2
−
2
View file @
aeac1027
...
...
@@ -53,13 +53,13 @@ else
echo
"WARNING : directory does not exist (
$1
) ; will try to pull"
fi
echo
-e
"
\n
====
RESET HARD and p
ull Dockerfiles repository ===="
echo
-e
"
\n
====
P
ull Dockerfiles repository ===="
echo
-e
"Using branch
\0
33[31m
$(
git rev-parse
--abbrev-ref
HEAD
)
\e
[0m, is this correct ? [y/N]"
read
ans
if
[
$ans
==
"y"
]
;
then
git reset
--hard
git pull
git restore
--source
=
HEAD
--staged
--worktree
--
$1
else
echo
"Aborting."
exit
0
...
...
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