diff --git a/firstcreation b/firstcreation new file mode 100644 index 0000000..2a2012d --- /dev/null +++ b/firstcreation @@ -0,0 +1,9 @@ +cd ~/Documents && rm -rf GIT && mkdir GIT && cd GIT +git config --global user.name "[YOUR GITHUB USERNAME]" +git config --global user.email [YOUR GITHUB EMAIL] +git clone [clone any repo in your github with ssh meaing clone ssh] +git add -A +git status +git commit -m "[ENTER YOUR COMMIT MESSAGE HERE]" +git status +git push diff --git a/rebasedefinition b/rebasedefinition new file mode 100644 index 0000000..db30b7f --- /dev/null +++ b/rebasedefinition @@ -0,0 +1,4 @@ +rebasing is a process of moving the commits of one branch onto the tip of another branch. +This means that instead of creating a new merge commit like git merge, git rebase rewrites the project history by creating new commits that apply the changes from one branch onto another. +It incorporating changes from one branch onto another. +This is useful when you have two branches that have diverged and you want to bring the changes from one branch into another.