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.
Labs
Labs are hands-on coding projects that you build along with Tonya as she explains the code, concepts, and thought processes behind it. You can use the labs to further your code knowledge or to use right in your projects. Each lab ties into the Docx to ensure you have the information you need.
Each lab is designed to further your understanding and mastery of code. You learn more about how to think about its construction, quality, maintainability, programmatic and logical thought, and problem-solving. While you may be building a specific thing, Tonya presents the why of it to make it adaptable far beyond that specific implementation, thereby giving you the means to make it your own, in any context.
Alias – Uncommit Last Commit
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.
Delete or Rename an Alias
What if you want to delete or rename an alias? How do you do that? Here, let me show you.
Your Contribution is Approved & Merged
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.
Git Contributing
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.
Push Your Contribution to GitHub
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
Explore How Work is Isolated in Branch
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.
Git Bits – A Look Inside Git’s Internals
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.
Simply Git: Barebones. No Fluff. Essentials.
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.
Uncommit Last Commit
What happens if you made a commit and then realized, whoops, I didn’t want to commit those changes? How can you “uncommit” a commit? Let’s do it together.