Gitbetter

Latest version: v4.0.1

Safety actively analyzes 688126 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

2.0.0

New Features

* help command shows built in git commands and convenience commands separately
* add commit_all()
* add ignore() to Git
* do_initcommit can take a list of files instead of only operating on all files
* add all core git commands to gitbetter shell
* initcommit() can accept a list of files
* add owner and repo name properties
* add all porcelain git commands
Fixes

* fix faulty import statement
* replace backslashes with forward slashes in add_files if there are any
Refactorings

* do_push_new() will use current_branch property instead of needing branch name supplied
* remove recursive options from shell parsers in favor of native wildcard usage
* remove quote check from do_commitall
* make origin_url a property
* move shell parsers to separate file
* change some convenience functions to use newly added core functions
* change execute method name to git
* update to revised Git functions
* remove owner and name params from github cli functions
Docs

* update readme
* update and improve docstrings
Others

* remove unused imports
* remove unused arg from do_delete_gh_repo
* add to ignore
* update ignores

1.4.0

Refactorings

* no longer necessary to specify the -f/--files flag before listing files when using the add command

1.3.0

New Features

* add current_branch property to Git class
Refactorings

* Git().branch() arg defaults to empty string

1.2.0

New Features

* add context manager to turn stdout capture on then back off
Docs

* update readme

1.1.0

Refactorings

* change tag function parameter default and doc string

1.0.0

New Features

* all git functions can return stdout as a string
Fixes

* fix issue where git.add() would remove path separators
Refactorings

* git bindings are now contained in the `Git` class
* do_commit() doesn't assume arg string is a message
* make capture_stdout a class property
* update shell to use Git class
* move git functions into a class so dev can specify whether to capture stdout or not
Docs

* update readme

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.