What if you don’t want to unstage all of the changes; rather, you just want to unstage a specific change. Running git status tells you how to do it. But again the command and its options is not intuitive or rememberable. Let’s build a complex alias that: Processes the optional parameter when one is given with the command. Or sets a default value when one is not passed with the command.
Often times, we type a series of commands over and over again. Is there a way to group these commands into one complex alias? Yes, we can leverage the shell and gain access to the full suite of Unix commands via scripting. In this episode, let’s discover the bang operator and anonymous function.
In Simply Git, you learned how to uncommit the last commit, moving the changes back into your working area. The command is not intuitive and, therefore, not rememberable. Let’s build an alias.
What if you want to delete or rename an alias? How do you do that? Here, let me show you.
Let’s walk through what happens when your contribution is approved and then merged into the project. Note: This process is handled for you by the project’s review team and whomever is authorized to add (merge) your contribution to the project. But let’s walk through it together.
Developers contribute. We work on teams and/or give our time to open source projects. In order to contribute, you need to be comfortable with git, GitHub, and the workflow process. In this hands-on coding, you will learn how to wire everything up, use branching, keep everything in sync and up-to-date, handle merge or commit issues, create issues, create pull requests (PR), and more. Let’s git you contributing.
Let’s start the process by pushing the work you just did to your forked copy on GitHub. You use git push origin change/license
Let’s stop here and explore how the work you just did in the change/license branch is separate and isolated from the develop branch. It’s important for you to understand why you want to do your work in a branch, i.e. whether working on your own project or on a team.
Ever wondering how git actually works? It’s a tool that you use every day. How are the commit hashes being generated? How does it keep track of everything? In this hands-on coding lab, you will dive into git bits by taking a look inside of git’s internals.
Version control is an essential part of any developer’s workflow. You know that. But it’s overwhelming and downright confusing to get started. Let’s cut through the technical jargon, workflows, and confusion. In this hands-on coding lab, you will simply learn git essential commands, with no fluff, just barebones git to get you started.