Skip to content

cyb3rswapp3r/git-puller-for-lazy-people

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

OverviewUsageComing Soon

Git-Puller-For-Lazy-People

This is just a shell script I use to do git pull on all the cloned repositories that I have. It's a pretty lazy idea but I just like to automate the simple things.

Usage

First you need to clone the repository into your machine:

$ git clone https://github.com/i-am-jezz/git-puller-for-lazy-people.git
$ cd git-puller-for-lazy-people/
$ chmod +x git_pull_script
$ ./git_pull_script git_repos.txt

To create the file containing path to git repositories:

$ find / -name .git 2>/dev/null | tee git_repos.txt

This command will create the file git_repos.txt which contains the path to all the github repositories in your system. If you don't want to pull a specific repository remove it's path from the git_folders.txt file.

NOTE:The git_repos.txt file will contain the path to the files with .git at the end. You will need to remove the extension. This can be done easily by doing a find & replace on the text file.

Soon

I'm working on a script to load the the git_repos.txt file automatically.

About

Git pull for lazy people. :-)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages