New repo's README markdown file !!!!
git clone HTTPS_link_CODE_githubRepo
git clone SSH_link_GitHubRepo
cd child_folder_name
clear
git status
git add .
git add filename
git commit -m "your_commit_message"
git push
git push origin main
where
- origin is shorthand for remote repo URL location,
- main is branch_name
git init
git remote add origin https://copied.repolink.git
git remote -v
git push -u origin master
git branch
git checkout branch_name
git checkout -b branch_name
git diff branch_name
git merge branch_name
git pull
git pull origin master
git branch -d branch_name
git diff
git commit -am "message"
[necessary as u don't want to get too behind the master, else merging will get difficult]
git merge master
git reset
OR
git reset file_name
git reset HEAD~1
git log
press 'q' to exit
git reset g6sdf4vgd521fds53sd5
git reset --hard g6sdf4vgd521fds53sd5
- use git hub fork button
- select fork all branches or just main branch(default)
- freely perform CRUD