Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
6d4cabb8
Commit
6d4cabb8
authored
Jan 09, 2011
by
Sander Mathijs van Veen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://vo20.nl/git/uva
parents
4dfb0631
6e632af8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
portfolio/revisioncontrol/git.txt
portfolio/revisioncontrol/git.txt
+18
-1
No files found.
portfolio/revisioncontrol/git.txt
View file @
6d4cabb8
...
@@ -65,7 +65,8 @@ index 52d7899..4319aa7 100644
...
@@ -65,7 +65,8 @@ index 52d7899..4319aa7 100644
- dimensions
- dimensions
- outro
- outro
-}.map { |js| File.join( src_dir, "#{js}.js" ) }
-}.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, QUnit and jQuery files/dirs
sizzle_dir = File.join( src_dir, "sizzle" )
sizzle_dir = File.join( src_dir, "sizzle" )
...
@@ -243,4 +244,20 @@ $ git checkout master
...
@@ -243,4 +244,20 @@ $ git checkout master
$ git cherry-pick <ID>
$ git cherry-pick <ID>
15.
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(-)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment