From cb1df5fb773d3cb27eb914da3945ab50aaea9952 Mon Sep 17 00:00:00 2001 From: "kikedare78@gmail.com" Date: Mon, 1 Apr 2024 16:38:00 +0100 Subject: [PATCH 1/3] Added GitHub-Fundamentals-Task.md --- GitHub-Fundamentals-Task.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 GitHub-Fundamentals-Task.md diff --git a/GitHub-Fundamentals-Task.md b/GitHub-Fundamentals-Task.md new file mode 100644 index 0000000..e69de29 From 023ac244550a4da7bb61a65a6ecaaead2a8199bf Mon Sep 17 00:00:00 2001 From: "kikedare78@gmail.com" Date: Mon, 1 Apr 2024 17:23:53 +0100 Subject: [PATCH 2/3] added GitHub-Fundamentals-Task.md --- GitHub-Fundamentals-Task.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/GitHub-Fundamentals-Task.md b/GitHub-Fundamentals-Task.md index e69de29..fb66558 100644 --- a/GitHub-Fundamentals-Task.md +++ b/GitHub-Fundamentals-Task.md @@ -0,0 +1,36 @@ +# Things I have Learnt 😀 +- How to use CLI Commands +- What is Git and GitHub +- The difference between Git and GitHub +- Git commands such as: +````` + + git init to initiate git file + git add [file name] to stage changes + git commit -am " commit message" to commit changes to a repositor + git push origin [file name] to push changes content of a local repository to the remote repository + git status to get the status of the repository working on + git log to get the history of all the changes and commit made +````` + +- How to create repository both local and remote +- How to connect your local and remote repository +- How to add files to repository +- How to create a branch +- Add file to the new branch +- Merge the new branch to the main branch, for example: +````` + `git branch [new branch name]` to create a new branch + `git checkout` to switch branches + `git checkout -b [new branch name]` to create a new branch with all the history of the branch currently working on + + ````` +- Git best practice: + 1. Use branches to create new features, experiment and fix bugs + 2. Make small frequent changes to prevent lost + 3. Write meaningful commits + 4. Use consistent tense and imperative language on commit messages + +# Things I am Still Confused About 🤔 +- Still on the push exercise. Getting error messages + From d782244dbae8318fa4ee600764a95c20cfebd23c Mon Sep 17 00:00:00 2001 From: "kikedare78@gmail.com" Date: Thu, 11 Apr 2024 12:55:44 +0100 Subject: [PATCH 3/3] Done