Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
010de02
create skeleton readme for git crash course
404CellPhoneRepair Mar 8, 2026
b58fe08
Bump faraday
dependabot[bot] Mar 8, 2026
3becab3
Bump @octokit/request-error
dependabot[bot] Mar 8, 2026
48d589e
Bump @octokit/plugin-paginate-rest
dependabot[bot] Mar 8, 2026
6f5dbac
Bump jws in /github-sdks/js in the npm_and_yarn group across 1 directory
dependabot[bot] Mar 8, 2026
605161f
Merge pull request #6 from 404CellPhoneRepair/dependabot/npm_and_yarn…
404CellPhoneRepair Mar 8, 2026
a2cb789
Merge pull request #1 from 404CellPhoneRepair/dependabot/bundler/gith…
404CellPhoneRepair Mar 8, 2026
b561d1d
Merge pull request #5 from 404CellPhoneRepair/dependabot/npm_and_yarn…
404CellPhoneRepair Mar 8, 2026
96108de
Merge pull request #3 from 404CellPhoneRepair/dependabot/npm_and_yarn…
404CellPhoneRepair Mar 8, 2026
d1dd36b
Bump @octokit/request
dependabot[bot] Mar 8, 2026
713b970
Merge pull request #4 from 404CellPhoneRepair/dependabot/npm_and_yarn…
404CellPhoneRepair Mar 8, 2026
46a41df
Potential fix for code scanning alert no. 1: Workflow does not contai…
404CellPhoneRepair Mar 9, 2026
0f15427
Potential fix for code scanning alert no. 1: Workflow does not contai…
404CellPhoneRepair Mar 15, 2026
3746b12
Merge pull request #7 from 404CellPhoneRepair/alert-autofix-1
404CellPhoneRepair Mar 15, 2026
42e950b
create skeleton for git crash course
404CellPhoneRepair Mar 17, 2026
784472c
Bump json in /github-sdks/ruby in the bundler group across 1 directory
dependabot[bot] Mar 19, 2026
3016ef1
Merge pull request #8 from 404CellPhoneRepair/dependabot/bundler/gith…
404CellPhoneRepair Mar 21, 2026
185abc6
create readme skeleton file for github crash course
404CellPhoneRepair Mar 21, 2026
5c45861
Add hello file
404CellPhoneRepair Mar 22, 2026
ad372ce
Added remoteUser to devcontainer
404CellPhoneRepair Apr 3, 2026
de12cc8
do not change remote User
404CellPhoneRepair Apr 3, 2026
5b2ae97
changes to devcontainer
404CellPhoneRepair Apr 3, 2026
bcb1f7e
basic instructions for ssh
404CellPhoneRepair Apr 3, 2026
7705bf9
Added sdk folder and Readme file
404CellPhoneRepair Apr 4, 2026
42a3402
created main terraform file
404CellPhoneRepair Apr 4, 2026
83e24d8
Add Markdown example to Readme.md
404CellPhoneRepair Apr 5, 2026
cac3e67
MArkdown Examples
404CellPhoneRepair Apr 5, 2026
b7a2fe3
Added more links to markdown exaples
404CellPhoneRepair Apr 5, 2026
2a293d5
Github Flavored markdown link added
404CellPhoneRepair Apr 5, 2026
3f7d425
Added markdown table example
404CellPhoneRepair Apr 6, 2026
776c214
Playing with blockquotes in GFM
404CellPhoneRepair Apr 6, 2026
4650198
Bump addressable
dependabot[bot] Apr 8, 2026
568c90a
Merge pull request #12 from 404CellPhoneRepair/dependabot/bundler/git…
404CellPhoneRepair Apr 23, 2026
50bdf1a
corrected spelling ing Readme.md file
404CellPhoneRepair Apr 23, 2026
c2e7089
Corrected more spelling errors in the Readme.md file in the workspace…
404CellPhoneRepair Apr 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"vscode": {
"extensions": [
"mhutchie.git-graph",
"phil294.git-log--graph"
"philgh294.git-log--graph"
]
}
},
Expand Down
5 changes: 5 additions & 0 deletions .devcontainer/github-sdks/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# List of features

We can install the following features into our codespace enviornment

https://containers.dev/features
17 changes: 17 additions & 0 deletions .devcontainer/github-sdks/terraform/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
terraform {
required_providers {
github = {
source = "integrations/github"
version = "6.11.1"
}
}
}

provider "github" {
# Configuration options
}

resource "github_branch" "development" {
repository = "Github-Examples"
branch = "sdks"
}
6 changes: 6 additions & 0 deletions .devcontainer/ssh-keys/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

```
ssh-keygen -t ssh-ed25519

```

3 changes: 3 additions & 0 deletions .github/workflows/custom-action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on: [push]

permissions:
contents: read

jobs:
my-job:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions git-crash-course/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ git commit -m "add readme file"

We can clone three ways: HTTPS, SSH, Github CLI

Since we are using GitHub Codespaecs we'll a create temporary directory in our workspace
Since we are using GitHub Codespaces we'll a create temporary directory in our workspace

```sh
mkdir /workspace/tmp
Expand Down Expand Up @@ -173,7 +173,7 @@ git add .
git reset
```

> git reset will revet a git add.
> git reset will revert a git add.

## Status

Expand Down
120 changes: 120 additions & 0 deletions git-crash-course/gitcrashcourse/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
## Git Hidden Folder
There is a hidden folder called `.git` that tells you that our project is a git repo.

If we wanted to create a git repo in a new project we'd create the new folder and then initialize the repo using `git init`

```sh
mkdir /workspaces/tmp/new-project
cd /workspaces/tmp/new-project
git init
touch Readme.md
code Readme.md
git status
git add Readme.md
# make changes to Readme.md
git commit -m "add readme file"
```


## Cloning
We can clone 3 ways: HTTPS, SSH, and Github CLI

Since we are using Github codespaces, we will create a temporary directory in our workspace

```sh

mkdir /workspaces/tmp
cd /workspaces/tmp
```

## HTTPS

```sh
git clone https://github.com/404CellPhoneRepair/Github-Examples.git

cd Github-Examples
```


## Commits

When we want to commit code we can write git commit which will open up the commit edit message in the editor of choice
``` sh
git commit
```
Set the Global editor

```
git config --global core.editor emacs
```
Make a commit and commit message without opening an editor
```sh
git commit -m "Added another exclamation mark"
```

## Branches


## Remotes


## Stashing


## Merging

When we want to stage changes that will be included in the commit
We can use the . to add all possible files.

## Add
```
git add Readme.md
git add .
```


## Reset

Reset allows you to move Staged changes back to being Unstaged.

This is useful when you want to revert all files not to be commited.
```
git add .
git reset
```
> git reset will revert a git add .

## Status

Git status shows you what files will or will not be committed.

```
git status
```
## Gitconfig file

The gitcong file is what stores your global configurations for git such as email, phone number, name,editor and more.

Showing the contents of our .gitconfig file
```
git config --list --show-origin or git config --list
```
When you first install git on a machine you are suppose to set up your name and email.

```sh
git config --global user.name "John Doe"
git config --global user.email johndoe@example.com
```

## Log
git log will show recent commits to the git tree
```
git logs
```

## Push
When we want to push a repo to our remote origin
```
git push
```

2 changes: 1 addition & 1 deletion git-crash-course/hello
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Hello!!!!
Hello!!!
Loading