0% found this document useful (0 votes)
11 views2 pages

After Installing Git Guide

This guide provides a step-by-step process for beginners on how to use Git after installation, starting from cloning a GitHub repository to pushing changes back to GitHub. Key steps include navigating to the project folder, making changes, staging and committing those changes, and finally pushing them to the remote repository. Additionally, it suggests integrating with cloud services like AWS for deployment purposes.

Uploaded by

gulnazmalik386
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

After Installing Git Guide

This guide provides a step-by-step process for beginners on how to use Git after installation, starting from cloning a GitHub repository to pushing changes back to GitHub. Key steps include navigating to the project folder, making changes, staging and committing those changes, and finally pushing them to the remote repository. Additionally, it suggests integrating with cloud services like AWS for deployment purposes.

Uploaded by

gulnazmalik386
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

What to Do After Installing Git (Beginner Guide)

Step 1: Clone Your GitHub Repository

Use this command to copy your GitHub project to your computer:

git clone https://github.com/Gulnaz-tech/cloud.demo.git

This creates a folder called 'cloud.demo' with your project files.

Step 2: Move Into the Project Folder

Use the terminal to go inside the cloned project folder:

cd cloud.demo

Step 3: Make Changes to Your Files

Open the folder in VS Code or any text editor.

Example: Edit README.md or add a new file like test.txt.

Step 4: Stage and Commit Your Changes

Run the following commands to track and save your changes:

git status # Check what's changed

git add . # Stage all changes

git commit -m "Your message" # Save the changes with a message

Step 5: Push Changes to GitHub


What to Do After Installing Git (Beginner Guide)

To upload your committed changes to GitHub, use:

git push origin main

Now your updated files will appear on GitHub.

Git Flow Summary

1. git clone <url> # Copy the repository

2. cd foldername # Navigate inside

3. git status # Check changes

4. git add . # Stage changes

5. git commit -m "msg" # Commit changes

6. git push origin main # Push to GitHub

Next Steps (Cloud Integration)

- Connect this repo to AWS CodePipeline or GitHub Actions

- Use it to deploy a static website to S3 or a function to Lambda

- Store Terraform, Docker, or Kubernetes files

You might also like