Get Crackin With Git Using GitKraken (Digital Version)
Get Crackin With Git Using GitKraken (Digital Version)
INTRODUCE YOURSELF
Your name
[Your Picture] @yourtwitter
#relavanthashtags
Why are we here?
Table of Contents
1. Intro to Git and GitHub
2. Set up GitKraken
3. Customize!
4. Wrap Up and Next Steps
What’s Git?
Git is a version control system that helps you collaborate on projects with
others. There are two main features that help you achieve this.
1. Log changes in a searchable way, instead of renaming a file for each version.
Some developers use the command line to interact with Git and GitHub by
following the best-practice workflow described in the next slides.
If a developer is using the command line to complete these steps, their old-
school workflow might look something like this:
3. Open their terminal and enter these commands to clone the repo and
create a branch.
How do they do this?
4. After making changes using their text editor, they would enter
these commands to stage their changes and commit them.
How do they do this?
6. Then they might go to GitHub to review and merge the pull request.
Get Crackin' with Git using GitKraken!
Table of Contents
1. Intro to Git and GitHub
2. Set up GitKraken
3. Customize!
4. Wrap Up and Next Steps
Make a GitHub Account
Visit the URL on the left if you're a student or the right if you are not.
Follow the instructions on GitHub.com to make your account!
https://education.github.com/ https://github.com/
Sign up for GitKraken
Use this specific link to download and you'll be entered into a raffle to win prizes!
8. Select Sign in with GitHub as before, which will open a web browser.
9. Then, select Continue authorization.
Download the GitKraken Git GUI
10. If you see this modal, select Start my GitKraken Pro trial now. If you don't
see this, your GitKraken account was automatically updated to Pro when you
made your GitHub Edu account!
Integrate GitHub
11. To make sure that GitKraken is authorized to work with your GitHub
account, open your Preferences.
12. Select Authentication, then GitHub.com.
13. If your GitHub account is not already connected, select Connect to GitHub.
Integrate GitHub
In the next few steps, your will create a repo for your webpage! Follow these
instructions very carefully.
Key Term
https://github.com/Axosoft/learn-git-with-gitkraken
fork: create a copy of a Git repository
8. Browse for where you'd like the project to be stored on your computer.
9. Paste the clone URL you copied into the URL field.
10.Click Clone the repo!
Get the Source Code
11.At the top of the screen, a bar should appear. Select Open Now.
Let's Explore the GitKraken Git GUI!
Key Term
branch: a parallel copy of a repository, inside the
repository (whereas a fork is a copy of a repository outside
of the repo).
Let's Explore the GitKraken Git GUI!
At the top of GitKraken, in the center, you can see a selection of useful options!
● pull – to bring changes from the remote down to your local environment. You
would use this option if someone else has made changes to the project that
you also want in your copy of the project.
● push – to add your local changes to the remote.
Key Term
remote: the repository on GitHub (or any other version control platform) that
your local repository is associated with
Let's Explore the GitKraken Git GUI!
At the top of GitKraken, in the center, you can see a selection of useful options!
● branch – to create a copy of the project inside of the project itself. This allows
you to make changes and test them out, without finalizing them until you're
satisfied.
● stash – when you have changes that you aren't ready to commit, but you want
to switch to another branch, you can stash your changes.
● pop – to delete your stash from the stack
Let's Explore the GitKraken Git GUI!
On the left side of the window, you can see branches and pull requests.
1. Now you should make a board. In the toolbar, select Boards. The screen
below will open.
8. Click the Boards tab in GitKraken to refer back to your board as you
complete steps!
Now we're going to clone the source
code repo using the GitKraken Git
GUI!
Get Crackin' with Git using GitKraken!
Table of Contents
1. Intro to Git and GitHub
2. Set up GitKraken Git GUI
3. Customize!
4. Wrap Up and Next Steps
Customize
Let's put all these features to use! As you complete each of these steps, you'll
switch back and forth between the GitKraken Git GUI and GitKraken Boards to
mark off steps.
Create Your Own Branch
1. index.html is listed under Unstaged Files. This means you have changes
locally, but have not added them to a commit. Select Stage all changes.
2. Your file has moved from Unstaged Files
to Staged Files. Type a descriptive
commit message.
6. The first time you push your changes from a new branch, you might see the
notification below at the top of GitKraken. Click Submit.
Open a Pull Request
1. Now you're ready to open a pull request to incorporate your changes. Click
the name of your branch.
2. Click Start a pull request . . .
1. Take a moment to switch back to your GitKraken Boards and update your
tasks.
Review The Pull Request
3. The code on the left is what you have locally. The code on the right is what's
in the remote repository. We want both bios to appear on our website!
Click the checkboxes on both sides.
4. Select Save in the upper right hand corner.
Resolve your Merge Conflict
6. Notice now that you have a local version of master again. Select Push.
7. If everything worked, you'll see the blue success message below. If not, this
is likely because you and someone else tried to resolve your conflicts at the
same time. Resolve them one at a time following the previous steps.
Check out your Page!
Want to see what your page looks like now that it's done?
1. In GitKraken Git GUI, make sure you have the latest version of
master.
2. Right click index.html.
3. Select Copy file path to clipboard.
4. In your browser, paste the file path to view your project!
Awesome! Look what you built!
Get Crackin' with Git using GitKraken!
Table of Contents
1. Intro to Git and GitHub
2. Set up GitKraken
3. Customize!
4. Wrap Up and Next Steps
Get Crackin' with Git using GitKraken!
Keep Learning
gitkraken.com/referrals
THANK YOU!
Your Name
[email protected]
www.gitkraken.com
Get Crackin’ with Git
Using GitKraken