Giter VIP home page Giter VIP logo

zit's Introduction

Python-mini-project - "Git" clone

Tables

  • working tree (id, commit message, branch name)
  • commitfolder(workingtree_id, folder_id, files_id)
  • folders (id, folder_id, folder_name, sub_folder/file_id)
  • mediam b/w folder and files
  • files (id, file_id, file_name, content)

imporved idea

  • working tree (commit_id unique primary key, message, Branch_name, time Text)
  • commitfolders(commit_id, folder_id, file_id)
  • folder (folder_id, folder_name, subfolder_id, file_id)
  • files (id, file_name, content)

imporved idea

  • working tree (commit_id unique primary key, message, Branch_name, time Text)
  • commitfolders(commit_id, folder_file_id)
  • folder_file(id, path, subfolder_file_id, content)

imporved idea

working_tree(id INTEGER PRIMARY KEY AUTOINCREMENT, message TEXT, branch_name TEXT DEFAULT 'master', time TEXT, add_id INTEGER, folder_file_id TEXT)

Staging_area(id INTEGER PRIMARY KEY AUTOINCREMENT, )

Files(id INTEGER PRIMARY KEY AUTOINCREMENT, path TEXT, subfolder_file_id TEXT, content TEXT)

Functions

git add .

  • sab file/folder add karne hai + content database me store karna hai
  • .gitignore maybe

git commit

  • update working tree
  • just take the folder_id and and commit_id and merge it

git log

  • git graph

GitHub

  • lets say pi me ek flask server host to wo localhost access kar sakte kya
# TODO

- [x] Table Layout
- [x] Add function algorithm
- [x] Add function k liye helper function
- [x] implementation Add function
- [x] Commit function
- [x] Git log implementaion
- [] isFileChange function
- [] gitstatus function
- [x] flask app
- [x] pi setup
- [x] git push
- [x] git pull

zit's People

Contributors

metallust avatar basit-perampalli avatar thelifeisstrange avatar

Watchers

 avatar

Forkers

gauravvkulkarni

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.