API Modules
sunjeet_tools
Sunjeet Tools - Personal utility library.
- sunjeet_tools.gacp(files='.', commit_message=None, branch='main')[source]
Git Add, Commit, Push in one command.
- Parameters:
files (str) – Files to add. Defaults to “.” (all files).
commit_message (str) – Commit message. Required.
branch (str) – Branch to push to. Defaults to “main”.
- Returns:
True if successful, False otherwise.
- Return type:
bool
Example
>>> from sunjeet_tools import gacp >>> gacp(".", "Initial commit", "main") ✅ Successfully added, committed, and pushed True