Giter VIP home page Giter VIP logo

autopull's Introduction

Auto Pull.py

This is a smiple python script that will pull and update the latest tags on a folder that is full of other git repos.

Requirements

Folder Structure

This script will go through each folder in the current directory that it is ran from, and will

- Repos
- autoPull.py
--> Repo_1
--> Repo_2
--> Repo_3
--> Repo_4

Usage

usage: This script will walk through all sub-directories, fetch all tags, and pull.
       [-h] [-t TAG] [-d DIRECTORY] [-b BRANCH]

optional arguments:
  -h, --help            show this help message and exit
  -t TAG, --tag TAG     Checkout this branch or tag for each repo
  -d DIRECTORY, --directory DIRECTORY
                        The direcotry that holds all the repos you want to
                        update. Default is current dir.
  -b BRANCH, --branch BRANCH
                        After pulling and checking out, create a new branch of
                        this name for each repo

batchClone.py

Note: You need to install the requests module via pip for this to work:

pip install requests

This is a simple script for cloning all repositiories in a given organization.

Note For private repos, you will need to provide an oAuth access token.
To do this go to your GitHub account:

Settings > Developer Settings > Personal Access Tokens

From here, you can generate a new oAuth token, make sure that you check the full repo scope.

autopull's People

Contributors

benjafriend avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

forno96 fathi-2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.