Skip to content
Open
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions firstcreation
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions rebasedefinition
Original file line number Diff line number Diff line change
@@ -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.