lazygit
lazygit copied to clipboard
Automating the process of pushing code from local repository to remote repository.
LazyGit
LazyGit is to be used to automate the process of pushing code from local repository to remote repository. Very useful for personal projects. To skip password authentication while pushing code you need to have an SSH key linked to your GitHub account. For generating your own SSH key check out Generating an SSH key.
Install
Using pip
pip install lazygit
Using Git
git clone https://github.com/mayank26saxena/LazyGit.git
cd lazygit
python setup.py install
How to Use
- Run
pip install lazygit
to install. - Run
lazygit new
to setup username and reponame. - Run
python lazygit <checkout_directory>
- Write commit message.
- Voila! Your commit has been pushed.
Motivation
Pushing code from a local repository to an upstream was a tedious task. I've developed this script to make the whole process easier, user friendly and less time consuming.
Code Example
lazygit new
Enter your GitHub username : mayank26saxena
Enter Github remote repository name : LazyGit
lazygit /home/mayank/Desktop/LazyGit
Write your commit message : Removed backup files.
Screenshots
That awesome moment when I used lazygit to push lazygit.py :sunglasses:
Task Lists
- [X] Submit package to PyPi.
- [X] Add support for Python 3+.
- [X] Option to make commit on a branch. Default branch is master.
- [ ] Add git pull operation before push.
Contributing
Use github's Pull request/issues feature for all contributions.