Skip to content

Commit 8c891ed

Browse files
committed
d
1 parent fb1b5b0 commit 8c891ed

File tree

10 files changed

+120
-120
lines changed

10 files changed

+120
-120
lines changed
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
![Image 1](1.png)
2-
![Image 2](2.png)
3-
![Image 3](3.png)
4-
![Image 4](4.png)
5-
![Image 5](5.png)
6-
![Image 6](6.png)
7-
![Image 7](7.png)
8-
![Image 8](8.png)
9-
![Image 9](9.png)
10-
![Image 10](10.png)
11-
![Image 11](11.png)
12-
![Image 12](12.png)
13-
![Image 13](13.png)
14-
![Image 14](14.png)
15-
![Image 15](15.png)
16-
![Image 16](16.png)
1+
![Image 1](1.png)
2+
![Image 2](2.png)
3+
![Image 3](3.png)
4+
![Image 4](4.png)
5+
![Image 5](5.png)
6+
![Image 6](6.png)
7+
![Image 7](7.png)
8+
![Image 8](8.png)
9+
![Image 9](9.png)
10+
![Image 10](10.png)
11+
![Image 11](11.png)
12+
![Image 12](12.png)
13+
![Image 13](13.png)
14+
![Image 14](14.png)
15+
![Image 15](15.png)
16+
![Image 16](16.png)

Anirudh/immersion/snaphsots.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
![Image 1](1.png)
2-
![Image 2](2.png)
3-
![Image 3](3.png)
4-
![Image 4](4.png)
5-
![Image 5](5.png)
6-
![Image 6](6.png)
7-
![Image 7](7.png)
8-
![Image 8](8.png)
9-
![Image 9](9.png)
10-
![Image 10](10.png)
11-
![Image 11](11.png)
12-
![Image 12](12.png)
13-
![Image 13](13.png)
14-
![Image 14](14.png)
15-
![Image 15](15.png)
16-
![Image 16](16.png)
1+
![Image 1](1.png)
2+
![Image 2](2.png)
3+
![Image 3](3.png)
4+
![Image 4](4.png)
5+
![Image 5](5.png)
6+
![Image 6](6.png)
7+
![Image 7](7.png)
8+
![Image 8](8.png)
9+
![Image 9](9.png)
10+
![Image 10](10.png)
11+
![Image 11](11.png)
12+
![Image 12](12.png)
13+
![Image 13](13.png)
14+
![Image 14](14.png)
15+
![Image 15](15.png)
16+
![Image 16](16.png)

Anirudh/missing_semester_bash/solutions.md

Whitespace-only changes.
6 Bytes
Binary file not shown.
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
task is to remove a sensitive file from git history
2-
3-
1. Created a test repo with git init
4-
2. Added a file secret.txt with sensitive data
5-
3. Committed it by mistake
6-
4. Used git filter-repo to completely remove it from history:
7-
Command:
8-
git filter-repo --path secret.txt --invert-paths
9-
5 again had to use it by force
10-
Command:
11-
git filter-repo --path secret.txt --invert-paths --force
12-
13-
14-
6. Verified using:
15-
git log --all -- secret.txt
16-
1+
task is to remove a sensitive file from git history
2+
3+
1. Created a test repo with git init
4+
2. Added a file secret.txt with sensitive data
5+
3. Committed it by mistake
6+
4. Used git filter-repo to completely remove it from history:
7+
Command:
8+
git filter-repo --path secret.txt --invert-paths
9+
5 again had to use it by force
10+
Command:
11+
git filter-repo --path secret.txt --invert-paths --force
12+
13+
14+
6. Verified using:
15+
git log --all -- secret.txt
16+
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
for version history graph used git log --all --graph --decorate
2-
3-
last person to modify readme.md: Anish Athalye <me@anishathalye.com>
4-
Date: Sat Feb 1 10:12:19 2025 -0800
5-
commit message: Update CI status URLs
6-
7-
last commit to collections in _config.yml
8-
commit a88b4eac326483e29bdac5ee0a39b180948ae7fc
9-
Author: Anish Athalye <me@anishathalye.com>
10-
Date: Fri Jan 17 15:26:30 2020 -0500
11-
1+
for version history graph used git log --all --graph --decorate
2+
3+
last person to modify readme.md: Anish Athalye <me@anishathalye.com>
4+
Date: Sat Feb 1 10:12:19 2025 -0800
5+
commit message: Update CI status URLs
6+
7+
last commit to collections in _config.yml
8+
commit a88b4eac326483e29bdac5ee0a39b180948ae7fc
9+
Author: Anish Athalye <me@anishathalye.com>
10+
Date: Fri Jan 17 15:26:30 2020 -0500
11+
1212
commit message: Redo lectures as a collection
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
analysed the important and useful git commands
2-
3-
1. git init
4-
- Initializes the .git directory
5-
2. git add file.txt
6-
- Git creates a blob for the file content.
7-
- It also updates the index (staging area) which builds a tree structure for the next commit.
8-
3. git commit -m "First commit"
9-
- Git takes the tree from the index and creates a commit object that points to it.
10-
- This commit has a unique SHA, an author, and points to the previous commit (if any).
11-
4. git branch feature
12-
- Git creates a new pointer (ref) to the current commit.
13-
5. git checkout <branch>
14-
- Moves the HEAD to the branch. HEAD now points to that branch, which points to a commit.
15-
6. git merge main
16-
- Combines trees from both branches and creates a merge commit with two parents.
1+
analysed the important and useful git commands
2+
3+
1. git init
4+
- Initializes the .git directory
5+
2. git add file.txt
6+
- Git creates a blob for the file content.
7+
- It also updates the index (staging area) which builds a tree structure for the next commit.
8+
3. git commit -m "First commit"
9+
- Git takes the tree from the index and creates a commit object that points to it.
10+
- This commit has a unique SHA, an author, and points to the previous commit (if any).
11+
4. git branch feature
12+
- Git creates a new pointer (ref) to the current commit.
13+
5. git checkout <branch>
14+
- Moves the HEAD to the branch. HEAD now points to that branch, which points to a commit.
15+
6. git merge main
16+
- Combines trees from both branches and creates a merge commit with two parents.
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Question 3
2-
3-
## What happens when you do git stash?
4-
It temporarily shelves your modified tracked files
5-
6-
## What do you see when running git log --all --oneline?
7-
You see a summary of all commits across all branches,one line at a time
8-
9-
## What does git stash pop do?
10-
It reapplies the last stashed changes and removes them from the stash stack.
11-
12-
## When is this useful?
13-
When you need to quickly switch branches or pull latest changes
1+
# Question 3
2+
3+
## What happens when you do git stash?
4+
It temporarily shelves your modified tracked files
5+
6+
## What do you see when running git log --all --oneline?
7+
You see a summary of all commits across all branches,one line at a time
8+
9+
## What does git stash pop do?
10+
It reapplies the last stashed changes and removes them from the stash stack.
11+
12+
## When is this useful?
13+
When you need to quickly switch branches or pull latest changes
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#question 4
2-
3-
used git config command and created an alias for graph
1+
#question 4
2+
3+
used git config command and created an alias for graph

README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
# open-lecture-assignments-y25
2-
3-
This is the official repository to submit the lecture assignments.
4-
5-
## Submission Guidelines -
6-
7-
* You have to make a directory of your name and add the assignment wise folders in it according to the following format-
8-
9-
Your_Name/
10-
│── assignment_1/
11-
├── [Files for Assignment 1]
12-
│── assignment_2/
13-
├── [Files for Assignment 2]
14-
│── assignment_3/
15-
├── [Files for Assignment 3]
16-
17-
* Make separate folder for each question in the assignment, so it becomes easy to review for us.
18-
19-
## How to submit?
20-
21-
1. Fork this repository.
22-
2. Complete the assignment in your respective folder.
23-
3. Create a pull request to submit your work.
24-
25-
## Important Notes-
26-
27-
* We will continuously monitor your progress through Git commits.
28-
* Do not submit all assignments at once—your work should be added incrementally over time.
29-
* We encourage you to engage deeply with the assignments. If you have any questions or need clarification, feel free to reach out.
1+
# open-lecture-assignments-y25
2+
3+
This is the official repository to submit the lecture assignments.
4+
5+
## Submission Guidelines -
6+
7+
- You have to make a directory of your name and add the assignment wise folders in it according to the following format-
8+
9+
Your_Name/
10+
│── assignment_1/
11+
│ ├── [Files for Assignment 1]
12+
│── assignment_2/
13+
│ ├── [Files for Assignment 2]
14+
│── assignment_3/
15+
│ ├── [Files for Assignment 3]
16+
17+
- Make separate folder for each question in the assignment, so it becomes easy to review for us.
18+
19+
## How to submit
20+
21+
1. Fork this repository.
22+
2. Complete the assignment in your respective folder.
23+
3. Create a pull request to submit your work.
24+
25+
## Important Notes-
26+
27+
- We will continuously monitor your progress through Git commits.
28+
- Do not submit all assignments at once—your work should be added incrementally over time.
29+
- We encourage you to engage deeply with the assignments. If you have any questions or need clarification, feel free to reach out.

0 commit comments

Comments
 (0)