VS Code : Automatically Push after Commit

If you want to automatically push to a GitHub repository after commit, Gitlens extension in VS Code has a setting to make this possible. You just change the git.postCommitCommand setting and then when you commit and it pushes simultaneously. Open GitLens Extension Settings. Search for git.postCommitCommand . click on the dropdown menu and change none […]

Clone a Github Repository into a Private One

Let’s say the repository you want to clone is You want to clone this repository to your local computer and then push it to your private Github repository. First: Now the public repository is cloned to your local computer. This step is important: You need to clean the git init: At this stage, you […]

Best Practices for Cloning a Github Repo to Local Macbook

Cloning a Github Repo to Local Macbook

In this post, I am going to show you best (and easy) practices for cloning a Github repo to your local macbook computer and create a virtual environment to contain your work. Cloning a Github repo means that we are create a copy of a Github repo in our local computer. All the files including […]