Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
python3-docopt /
examples /
git /
Delete
Unzip
Name
Size
Permission
Date
Action
git.py
1.7
KB
-rwxr-xr-x
2014-06-16 11:14
git_add.py
851
B
-rw-r--r--
2014-06-16 11:14
git_branch.py
1.36
KB
-rw-r--r--
2014-06-16 11:14
git_checkout.py
931
B
-rw-r--r--
2014-06-16 11:14
git_clone.py
1.22
KB
-rw-r--r--
2014-06-16 11:14
git_commit.py
2.08
KB
-rw-r--r--
2014-06-16 11:14
git_push.py
904
B
-rw-r--r--
2014-06-16 11:14
git_remote.py
815
B
-rw-r--r--
2014-06-16 11:14
Save
Rename
#! /usr/bin/env python """ usage: git [--version] [--exec-path=<path>] [--html-path] [-p|--paginate|--no-pager] [--no-replace-objects] [--bare] [--git-dir=<path>] [--work-tree=<path>] [-c name=value] <command> [<args>...] git [--help] The most commonly used git commands are: add Add file contents to the index branch List, create, or delete branches checkout Checkout a branch or paths to the working tree clone Clone a repository into a new directory commit Record changes to the repository push Update remote refs along with associated objects remote Manage set of tracked repositories See 'git help <command>' for more information on a specific command. """ from subprocess import call from docopt import docopt if __name__ == '__main__': args = docopt(__doc__, version='git version 1.7.4.4', options_first=True) argv = [args['<command>']] + args['<args>'] if args['<command>'] == 'add': # In case subcommand is implemented as python module: import git_add print(docopt(git_add.__doc__, argv=argv)) elif args['<command>'] == 'branch': # In case subcommand is a script in some other programming language: exit(call(['python', 'git_branch.py'] + argv)) elif args['<command>'] in 'checkout clone commit push remote'.split(): # For the rest we'll just keep DRY: exit(call(['python', 'git_%s.py' % args['<command>']] + argv)) elif args['<command>'] in ['help', None]: exit(call(['python', 'git.py', '--help'])) else: exit("%r is not a git.py command. See 'git help'." % args['<command>'])