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 […]