From 04ba5862ae5b3fa446a6904aacccb9fa3734a784 Mon Sep 17 00:00:00 2001 From: Mahelaka Mansoori Date: Fri, 17 Jan 2025 09:58:40 +0530 Subject: [PATCH 1/2] Contribution to other repo --- contribution-demo.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 contribution-demo.txt diff --git a/contribution-demo.txt b/contribution-demo.txt new file mode 100644 index 0000000..e69de29 From 33aa7c8a191147d3513e00e0a8fae812cc03f399 Mon Sep 17 00:00:00 2001 From: Mahelaka Bano <117342536+Mahelaka29@users.noreply.github.com> Date: Fri, 17 Jan 2025 10:27:00 +0530 Subject: [PATCH 2/2] Contributing to the other's repo --- contribution-demo.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/contribution-demo.txt b/contribution-demo.txt index e69de29..4520df6 100644 --- a/contribution-demo.txt +++ b/contribution-demo.txt @@ -0,0 +1,19 @@ +To contribute to the other's repo on GitHub using git + +Steps: + +1. pwd -> stands for present working directory + +2. git clone -> to copy the repo of others in your local machine + +3. git add . or git add --all or git add [file_name] -> to add the new file to the repo or folder + +4. git status -> to check the status of current dirc. + +5. git commit -m "message" -> to commit the changes in GitHub repo + +6. git log -> to check the all commits of repo + +7. git push origin push -> to push the changes or commit to the GitHub repo + +8.