Skip to content
Open
Changes from all commits
Commits
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
35 changes: 35 additions & 0 deletions Github-fundamentals-task.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

## Things I have learnt ✅

1.CLI Commands.
2.What is **Git** and [**Github**](https://github.com/).
3.Difference between **Git** and [**Github**](https://github.com/).
4.Git commands and their uses Eg:

- `git status` to get status of the working directory and the staging area.
- `git add .` or `git add [filename]` to stage changes.
- `git commit -m "commit message"` to commit changes.
- `git push` to push changes to the remote repository.
- `git log` to get a report of all the commits you have made.

5.How to create a repository local & remote.
6.How to add files to a repository.
7.How to create branches and how to merge them Eg:

- `git branch` lists branches.
- `git branch [new-branch-name]` to create a new branch.
- `git checkout` to switch branches.
- `git checkout -b [new-branch-name]` creates new branch with all the history from the branch you are currently on.

8.Git best practices Eg:

> 1. Using imperative language in commit messages.
> 2. Making small frequent commits.
> 3. Using branches to work on different features, fix bugs etc.


## Things i am still confused about 😕

1.Pull requests.