Git Integration
Git Integration
Crawlab allows users to configure a Git repository for version control of their spiders. This is very useful for team collaboration.
Configure Git Repository
- Navigate to the
Gittab on the spider details page. - Enter the URL of the Git repository, and the system will detect whether it's HTTPS or SSH.
- Enter the username and password for the Git repository or SSH key.
- Click the
Savebutton.
Switch Branch
- Click the
Checkoutbutton. - Select the branch you want to check out.
- Click the
Confirmbutton.
Pull Code
- Click the
Pullbutton and confirm. - The system will pull the code from the remote repository.
Configure Auto Pull
- Check the
Auto Pulloption. - Select the interval for code pulling.
- For spiders with the
Auto Pulloption checked, the system will automatically pull the code every minute.
Commit Changes
- Select the
Changestab. - Check the files you want to commit.
- Click the
Commitbutton and confirm.