Our technical tutorials include code examples, screenshots, and the step -by-step instructions for getting it done. Common tutorial topics include everything git, GitOps, DevOps, microservices architecture, secure development, code maintainability and quality. Written by developers for developers.
Git bisect command is useful for debugging - it allows you to traverse through all your commits and use file annotation (git blame) and binary search debugging tools. This tutorial shows you how it works and when to use it.
Git push --force command is often considered dangerous to use. This tutorial shows you how to use git push --force the right way. You'll also learn new, safer alternatives, and master the skills of restoring a broken branch.
So you wish to do "git create branch branch-name"? This tutorial will show you the right git commands for creating branches, naming and renaming git branches.
So you wish to "git remove untracked files"? This tutorial will show you the right git commands to remove unused files in your working directory.
So you wish to "git undo merge" in git? This tutorial will show you the right git commands to cancel a merge to master, even after it’s been committed.
So you wish to "git unstage" files in git? This tutorial will show you the right git commands to remove all or specific staged files from index.
So you wish to do a "git force pull"? This tutorial will show you the right git commands to discard your local changes and replace them with your latest commit.
If you’re using AWS Lambda functions, there’s a chance that you recently got an email about Node 8.10 reaching the end of its life. Learn what it means and what you should do next to be prepared to migrate your Node runtime declarations.
The git error "Fatal: not a git repository" occurs when you attempt to run a git command but weren't inside a git repository. Read this article for ways to solve this error.
The git error "Fatal: refusing to merge unrelated histories" occurs when a user action, such as git merge, can cause the rewriting of history data. It is git's way to ensure the user fully understands the result of their action. Read on how to solve this error.
The git error "Remote origin already exists" occurs when you attempt to create a link to a remote repository called origin but a remote with that name is already configured. Read this article on how to fix it.
10 most useful git commands guide: the intuitive and actual commands for common git tasks like renaming a branch, removing files, and undoing changes, and more.
Check out: Best practices on managing secrets using AWS or Hashicorp Vault. Also see: sample code we use at Datree.io to inject secrets into our application.
Best practices for writing git commit messages - cheatsheet included. Read how to optimize git commit messages to improve your development productivity.
New to Github Actions? Want to write it in Node.js instead of shell scripts? Check out this guide and start automating your workflow the easy way!