Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
legTools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
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
leg
legTools
Commits
266a2cdc
Commit
266a2cdc
authored
9 years ago
by
Walmes Marques Zeviani
Browse files
Options
Downloads
Patches
Plain Diff
First version of a pre-push script to upload to puclic folder.
parent
aba2796b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.hooks/pre-push
+13
-0
13 additions, 0 deletions
.hooks/pre-push
with
13 additions
and
0 deletions
.hooks/pre-push
0 → 100644
+
13
−
0
View file @
266a2cdc
#!/bin/bash
# To use this script, copy it to .git/hooks.
# Return the content in the public datasets folder.
# ssh leg@$PATAXO -p$PATAXOP "ls -la ~/public_html/legTools/datasets"
# Tranfering data-raw/*.txt files.
rsync
-avzh
--progress
data-raw/
*
.txt
-e
"ssh -p
$PATAXOP
"
\
leg@
$PATAXO
:~/public_html/legTools/datasets/
# Tranfering vignettes/*.html files.
# Tranfering manual in pdf, zip and tar.gz source files.
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