Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uva
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
Taddeüs Kroes
uva
Commits
6d4cabb8
Commit
6d4cabb8
authored
14 years ago
by
Sander Mathijs van Veen
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
ssh://vo20.nl/git/uva
parents
4dfb0631
6e632af8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
portfolio/revisioncontrol/git.txt
+18
-1
18 additions, 1 deletion
portfolio/revisioncontrol/git.txt
with
18 additions
and
1 deletion
portfolio/revisioncontrol/git.txt
+
18
−
1
View file @
6d4cabb8
...
...
@@ -65,7 +65,8 @@ index 52d7899..4319aa7 100644
- dimensions
- outro
-}.map { |js| File.join( src_dir, "#{js}.js" ) }
+base_files = %w{intro core support data queue attributes event selector traversing manipulation css ajax xhr transports/jsonp transport
+base_files = %w{intro core support data queue attributes event selector
traversing manipulation css ajax xhr transports/jsonp transport
# Sizzle, QUnit and jQuery files/dirs
sizzle_dir = File.join( src_dir, "sizzle" )
...
...
@@ -243,4 +244,20 @@ $ git checkout master
$ git cherry-pick <ID>
15.
Een hook is een script dat wordt getriggered bij een bepaalde gebeurtenis in de
repository, dit soort scripts worden geplaatst in de `.git/hooks/' map. Een heel
simpel voorbeeld is een script `.git/hooks/pre-commit' met de regel `make'. Dit
zorgt ervoor dat altijd de Makefile wordt aangeroepen voordat een commit wordt
toegepast.
~/jquery$ vim version.txt # een willekeurige wijziging
~/jquery$ git commit -m "Test of pre-commit hook" version.txt
Pulling test/qunit... # zoals te zien wordt nu eerst de Makefile aangeroepen
Pulling src/sizzle...
Checking jQuery against JSLint...
JSLint check passed.
jQuery build complete.
[master e4205d9] Test of pre-commit hook. # Makefile uitgevoerd, nu wordt de
commit daadwerkelijk gedaan
1 files changed, 3 insertions(+), 1 deletions(-)
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