Tag: github

  • Git remove commits from branch after push: reset, revert, or rebase

    Git remove commits from branch after push: reset, revert, or rebase

    You can remove commits from a branch by any of reset,revert, and rebase commands. Each has own use case and pros and cons, let’s learn them in details

  • How to deploy nodeJS app to production

    How to deploy nodeJS app to production

    Releasing javascript/typescript applications normally ends up with producing a huge artifact, the reason is obviously the node_modules. Here I am showing you how to deploy a NodeJS app to production with very small artifact and very efficient deploy time. node modules When you create a modern javascript / typescript project you are taking care of…

  • Environment Variables as GitHub Codespaces Secret

    Environment Variables as GitHub Codespaces Secret

    It’s been long since we are asking programmers “not to push connection strings and API Keys” to the source code. And also, set them as environment variables for production. But you still here and there you can find sensitive information on both repository and config files on production server! GitHub Codespaces gives you the solution…

  • Github and github_token and github secrets

    Github and github_token and github secrets

    There are security flaws on github token and github secrets, lets review them and make sure we are aware of it. Since microsoft acquired GitHub, they are investing heavily on monetizing it (for organizations not open source). So, lots of good features are added literary everyday. But it seems GitHub is not there yet, there…

  • SonarQube Pull Request Scanner + Community

    SonarQube Pull Request Scanner + Community

    On the previous article, we installed a SonarQube community server on ubuntu and using SQL server. Now We are going to expand our learnings and create the whole process of code quality assurance with SonarQube. We are making a CI/CD workflow so that any line of new code be scanned and measured by SonarQube. This…