Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying GitHub for Next-Generation Coders
  • Table Of Contents Toc
  • Feedback & Rating feedback
GitHub for Next-Generation Coders

GitHub for Next-Generation Coders

By : Igor Irić
5 (3)
close
close
GitHub for Next-Generation Coders

GitHub for Next-Generation Coders

5 (3)
By: Igor Irić

Overview of this book

Navigating the world of collaborative software development can be daunting, especially for young coders just starting their programming journey. This book is designed to take you on a coding adventure, transforming you from a curious beginner into a confident GitHub user. The book builds a solid foundation and explains the Git version control system in depth, helping you understand how to track changes, collaborate effectively, and manage your projects with ease. You'll master repositories, the building blocks of your coding projects, and learn branching strategies to experiment and work seamlessly with others. The chapters will teach you about GitHub Actions, guiding you through workflow syntax, exploring environments and secrets management, and providing hands-on exercises to solidify your understanding. You’ll also discover how to craft a compelling GitHub profile that highlights your achievements and discover the exciting world of open-source projects where you can contribute and give back to the community. To get you started with AI, you’ll also learn how to leverage Copilot and ChatGPT together to write faster, cleaner code. By the end of this book, you’ll be well prepared to contribute to real-world projects on GitHub, equipped with the skills to thrive in the world of collaborative software development.
Table of Contents (21 chapters)
close
close
Free Chapter
1
Part 1: Getting Started with GitHub
4
Part 2: Collaborative Development Using GitHub
9
Part 3: Mastering Git Commands and Tools
12
Part 4: Advanced GitHub Functionalities
16
Part 5: Personalizing Your GitHub Experience

Adding and committing files to a local repository

Now that you’ve cloned your repository and switched to the correct branch, you can start building your one-page portfolio website. In this hands-on section, you will create a left-hand side menu, add a profile picture and some social icons, and style everything with CSS. You’ll want these changes to be recorded in your local Git repository.

Adding your new files to Git

For this hands-on section, we will add some HTML code to the index.html file to replace the welcome text.

Use your favorite code editor to make changes in the index.html file. You can use Visual Studio Code for this, a free code editor created by Microsoft. You can download it from https://code.visualstudio.com/download and install it locally. In Chapter 8, Helpful Tools and Git Commands, we will talk more about Visual Studio Code and its cool features.

Now, you can replace the content of the file with the following code:

Figure 4.19 – Code for the website
...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY