free1002 / poormans-git

A small git backup script for people who don't much know about git.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Motivation:
Recently I worked with a php programmer who don't know about source version control systems. He don't set 
local development environment and do his works in shared development server without any backup systems. 
I need some systems for doing backup his source codes and tracking his code-changes. Therefore, I wrote 
this tiny script for doing backup his codes at remote git repository. (I use bitbucket for creating 
free-private repository) Finally, I could pull and merge codes in safely and do tracking his code-changes.

How to use:
1. install python
2. copy backup.py to your git repository
3. do backup.py - This script just do below actions sequentially:
  git add .
  git rm <deleted file>
  git commit -m 'backup'
  git push

About

A small git backup script for people who don't much know about git.


Languages

Language:Python 100.0%