patpitchaya - Fotolia
Need to do a git uncommit to the last commit you were working on? Learn how to quickly uncommit files updates and changes in Git.
Don't let a file or two be overlooked when you attempt to remove and discard local, uncommitted changes in Git. Learn how to locally revert and remove uncommitted changes to files in Git properly.
Trying to delete a local Git repository but the DVCS system still persists? Here's a quick example of how to locally remove a Git repo permanently and completely.
You want to do a Git branch change? Here we have a few Git branch change examples that will help you quickly address the version control challenge you are trying to solve, be it a branch renaming ...
Need to permanently remove a Git branch locally? What about the remote tracking branch? Or maybe someone removed a Git branch on GitHub or GitLab and you need to synchronize with the server? Here ...
Here's a quick example of how to tag a specific commit id in Git. This is perfect if an older commit id requires a tag but was not originally given one.
Here's a quick example that shows you how to rename a Git branch locally and remotely. The branch renaming commands and techniques will work with GitHub, GitLab, Bitbucket and any cloud based Git ...
Learn the command to properly delete remote Git branches from tools such as GitHub and GitLab, while also deleting local remote tracking branches as well.
Here is a quick Git command to delete all branches except master or main from your local repository. It's a nice way to clean up your workspace after a milestone or a sprint.
Here's a quick example of how to delete local Git branches from your workstation without deleting remote branches in your GitHub or GitLab repos.
Did you create a new Git branch? Need to push that new Git branch to a remote repo such as GitHub or GitLab? This Git example tutorial shows you how to push new branches to remotes.
Here's a quick fix for Git's "fatal: The current branch has no upstream branch" error, along with a brief explanation of why this happens when you push a new Git branch to GitHub, GitLab or BitBucket.
Did you update some code in the wrong Git branch? Here's how to save those local changes in a newly created Git branch, and clean up the original branch in the process.
Forgotten the Git branch create command? Here we'l show you four different ways to create a Git branch, be it from the current branch, from a tag or from a commit id.
Are you working in a cloud-native, Docker and Kubernetes based environment and you're wondering what the difference is between kubelet and kubectl? Here we clear up the kubectl vs kubelet confusion.
What's the difference between containerd and Docker? Here we take a look at how these two cloud-native Kubernetes friendly technologies differ and compare.
Wondering what the difference is between a Docker image and container? Here we make the Docker container vs image comparision and show you how the two concepts differ.
Wondering what's included in the new Java 17 LTS release? Here's a list of all the changes made to the JDK between the Java 11 and Java 17 LTS releases.
Here's a quick tutorial that shows you how to import a GitHub hosted Maven project into the Eclipse IDE.
Docker and Podman play two very separate and distinct roles in the modern DevOps pipeline. Here we compare Docker and Podman and show you how to choose which one is best for you.
Forced to choose between Docker and a virtual machine, which one should a developer choose. Here we compare and contrast the two DevOps tools and let you know which one is best to use.
Frustrated by GitHub's 'support for password authentication was removed' error? Here's how to fix it by creating a personal access token in GitHub.
Find out how Java provides a promising alternative for coding data science applications that may make it easier to develop more scalable AI.
Although Robotic Process Automation has been around for years, banks and financial institutions continue to find new RPA use cases to save time, effort and money.
Looking for the fork command in Git? Well, it doesn’t exist. Here we'll show you how to fork a Git or GitHub repo on your own.
Want to stop UiPath Studio from updating to the latest release all the time? Here's how to download and install a specific version of UiPath Studio.
It’s actually a bit tricky to install UiPath. This UiPath Studio install tutorial shows you how to find the download link and the right version.
How do you use a variable from one UiPath sequence in another? This tutorial will teach you everything you need to know about passing data between workflows.
While the UiPath If activity is great for simple logic, multi-branching demands the UiPath Switch activity. Learn how to use it to perform conditional logic.
Learn how to use the conditional UiPath If activity to create branches of logic in your RPA programs. This quick UiPath If-Then example will show you how.
Need to fork GitHub at the command line? This quick Git tutorial will show you how to install the GitHub CLI tools and fork a repository in the shell.
https://youtu.be/CMxze9XO6v8 Recovery drive partition removal If you've purchased a laptop from Lenovo or desktop from Asus, there's a good chance there's a hidden recovery partition immediately ...
Has the ConcurrentModificationException been thrown in you Java app? Here are four simple ways to fix the ConcurrentModificationException in your code.
There are two ways to create a bare Git repo -- a bare Git clone or a Git init bare. This git bare repo tutorial will show you how to perform both.
A bare Git repo has all the capabilities of a non-bare repository, with the exception that it’s not meant for local development.
If you’re wondering how to git submodule and logically link repositories together, this git submodule tutorial -- with lots of examples -- is for you.
If your Git submodule is out of sync with the server, we can help. This git submodule update example shows you how to get the latest commits into your worktree.
In this GitHub submodule add example, we demonstrate how to take an independent GitHub repository, add a Git submodule and push back to the GitHub server.
When Sun Microsystems first developed a programming language to power their Star7 entertainment controller, they named it Oak, not Java.
Here's the anatomy of Java's main method. An anachronism with the rise of Servlets and JSPs, Spring Boot and Eclipse Microservice developers are seeing more of Java's main function as apps are ...
This GitHub repository tutorial shows users how to create a new repository in the popular, cloud-hosted Git offering. Let’s dig into the central concepts of GitHub-based DevOps.
In this Jenkins and Docker integration tutorial, I’ll show you how to create a Jenkinsfile build with Docker. Just pull a Jenkinsfile from a GitHub repository, and Docker will take care of the rest.
This Java recursion tutorial shows you how to create a recursive Java factorial function and compares these methods to iterative ones.
We often debate the merits of iterative vs recursive Java code. Let’s take a look at 5 Java recursion examples and see where the concept of recursion fits.
In this git tag clone example, we’ll demonstrate how to pull from a tag point in your git commit history. However, it comes with a catch, in the form of a detached head.
In some cases, Gitflow will come prepackaged with Git for Windows installations. Those on older installations will need do it manually. Here's a quick guide on how to perform a Gitflow install for ...
Here's a quick Gitflow init example, along with a quick tutorial on how to perform a full Gitflow workflow after you execute the command.
The Gitflow release branch is the final step in this software development process workflow. Here we look at the start, finish and impact the Gitflow release has on the master, develop and feature ...
If you’re lucky, you’ll never have to start the Gitflow hotfix process. But just in case, here’s a quick example of how to incorporate the Gitflow hotfix branch into your version control workflow.
Here's a quick Java Mission Control tutorial to show you how to install the Java Mission Control Eclipse plugin and start a Java Flight Recorder JVM profile run.
JDK Mission Control is feckless without a Java Flight Recorder file to profile. Here are 3 easy ways you can start Java Flight Recorder in Eclipse and monitor your JVM in JMC.
When you clone a git repository, it won’t necessarily bring down the branches and code for the associated submodules. The git submodule init and update command and the --recurse-submodules switch ...
The boxing and unboxing of Java primitive types has severe performance implications. Uncover the truth about autoboxing Java primitive types in this JDK Mission Control and JVM Flight Recorder example.
YAML has joined the ranks of declarative and scripted pipelines in Jenkins. Here's an example of what the syntax for a Jenkins YAML pipeline looks like.
Need to run Jenkins on AWS? It's not a bad idea, especially when developers consider the need for a CI/CD server to integrate with peripheral resources. This quick example shows you the easiest way ...
This quick example will demonstrate how to implement a remote Jenkins build trigger. With the remote Jenkins build URL, a developer can call jobs from scripts, the CURL command and even Java code.
Keep complex logic out of your build scripts and take advantage of Jenkins shared libraries instead.
This git submodule add example demonstrates how a developer can use these steps to create a Git repository and add a new Git submodule to it.
The GitHub Actions environment variables available to a developer's workflows will vary from Ubuntu to Windows to MacOS. Here's a full environment variables list for each and why developers should ...
Running into difficulty with GitHub Webhooks and Jenkins builds? This Jenkins and GitHub webhook integration example shows how to trigger remote builds without the 403 no valid crumb in request ...
Here are the 10 best GitHub Actions examples for developers and DevOps admins that want to learn and master continuous integration and deployment.
Here's a simple example on how a developer can publish GitHub Actions artifacts for download once a build workflow successfully completes.
In this Struts 2 file upload example we show you to take a local resource and upload it to a remote Java application server. All a developer needs is a file, a browser and an Internet connection ...
It's easier than ever for a developer to upload a file with PHP and HTML5 to an Apache web server. This example shows how to create an HTML and PHP file upload component that will work in any ...
It's not that hard to perform Java file uploads. The new Servlet and JSP API, along with HTML5 input form enhancements, make Java file uploads, both synchronously and asynchronously with Ajax, ...
You can confidently store keys, tokens and passwords with GitHub Actions secrets. This quick, not-so secret tutorial, provides an example of how to do exactly that.
This example shows you how you can find and use the GitHub URL. Clone, fetch, push and pull to your remote repo easily with the GitHub URL at your disposal.
The Jenkins installer makes installation of the popular CI/CD tool incredibly easy. Follow these simple steps and you'll have the continuous integration server running on Windows in no time.
https://youtu.be/3znTQFLviwQ What is Jenkins Home? When Jenkins runs, it stuffs all of its logs, cloned repos, plugin configurations and build artifacts into the Jenkins Home folder. Basically, ...
This CI/CD example shows you how the integration of Jenkins with GitHub includes not only the ability to pull GitHub code, but also to trigger Jenkins build jobs with webhooks as well.
Here's a quick example of how to run a Jenkins war file from the command line, DOS prompt or terminal window in Linux/Ubuntu. The short story? java -jar jenkins.war
Here's a quick fix to the Jenkins 'No such DSL method 'withMaven' found among steps: NoSuchMethodError' error. Hint? Install the Jenkins Maven pipeline plugin.
Here's a quick fix to the "403 no crumb was included in the request" error you often see when a Jenkins GitHub webhook is configured incorrectly.
The Jenkins Warnings plugin replaces the deprecated CheckStyle, FindBugs and PMD ones. This static code analysis in Jenkins example shows you how to integrate Jenkins, CheckStyle, FindBugs and PMD ...
Here's a quick example to show you how to install Jenkins on Ubuntu 20. Additionally, we'll install Git and test your Jenkins installation with a Hello World build job.
A local install of Jekyll on your Windows machine provides a variety of benefits which range from the ability to use your favorite text editor to fast compilation times. Even if you use GitHub ...
The easiest way to build your Apache Ant projects in Jenkins is with a pipeline and a Jenkinsfile that takes advantage of an Ant based Docker container. In this Apache Ant, Docker and Jenkins ...
Here's a simple example of how to build your Java apps in Jenkins with Ant. We demonstrate both the Jenkins Ant plugin and the Jenkins pipeline approach with a Jenkinsfile as well.
Here's a quick fix to the Jenkins Docker"Permission denied while trying to connect to the Docker daemon socket" error.
Here's how to quickly fix the "Invalid agent type Docker specified. Must be one of [any, label, none]" error by installing the correct Jenkins Docker pipeline plugins. We'll get your Jenkinsfile up ...
In this git clone depth 1 example, we'll walk you through the process of pulling only one commit and one branch back from a remote Git repository.
In this git log graph example we demonstrate not only how the git log graph works, but also how to use a pretty switch to make it more readable.
Working with GitHub or BitBucket? Then you need to install Git. In this tutorial we show you how to install Git on Windows in 10 easy steps.
This step-by-step, tutorial will walk developers through the necessary steps to create a GitHub repository and how to create the cloud-hosted Git repo that acts as the cornerstone for all ...
Every developer needs to know a few basic Git commands to become proficient with GitLab. Here are the top eight Git commands every developer must know to be on their way to GitLab mastery.
If you're ready to fly into the Danger Zone, then you're ready to follow these steps to delete a GitHub repository.
Security, compliance and governance concerns along with human worries still play a role in the integration of AI-based and RPA offerings to an enterprise. Here are some ways to alleviate those ...
The Struts 2 Ajax template is deprecated, but the Strut jQuery plugin is a more than capable replacement. In this Struts jQuery tutorial we show you how to integrate Ajax calls into your modern ...
It's not exactly a straightforward process for developers to have GitLab delete remote branches. In this GitLab tutorial, we'll show you how to remove remote GitLab branches with examples.
What is the .gitkeep file? How do you commit and push empty Git folders? In this quick tutorial we'll explain why git is not pushing empty folders and how to fix it.
After your RPA program is coded, you will need to create a robot in UiPath Orcestrator so the robotic automation can me managed. This UiPath robot creation tutorial shows you how to do exactly that.
Frustrated every time you forget to add a Git commit message and Vim, the default Git editor pops up? Here's a way to make issuing git commits a bit friendlier. In this Git tutorial, we show you ...
In this GitLab merge branch to master example, we explain why a GitLab merge into master is different from other operations, and how to accomplish this task with a GitLab master merge request.
There are two ways a developer can have GitLab merge master into a branch. One is to merge master into the branch on the client while the other is to perform a GitLab pull request. Here are some ...
Developers can use the git clean command to delete untracked files in a working tree and remove what they don't need from a local repository. Here is how to issue the command and some helpful tips ...
Can't find the .gitconfig or gitconfig files on your system? It's possible that Git didn't create them. Here's how to find gitconfig on the filesystem and create the if it's not there.
The combination of Apache Struts and Eclipse makes for a powerful development environment. Learn how to integrate the two open source tools and get developing Java web applications quickly.
In this tutorial on how to rebase GitHub repositories, we will clone a repo, perform a rebase from master and to master, and push back to the remote GitHub server.