Add git integration
RealA10N opened this issue · 0 comments
RealA10N commented
Users may want to commit and push their solutions. This is why we want to integrate git with cptk and provide the following options:
- Automatically commit after submitting code to a single problem
- Automatically push after submitting code to a single problem
- Automatically commit before the end of a session (multiple problems)
- Automatically push before the end of a session
- Edit and customize commit messages
Examples of formats for commit messages:
Solved {number} problems
{'\n'.join(f''{p.name} - {p.url}" for p in problems)}
Solved {numberSolved}, Resubmitted {numberResubmitted}
etc.