https://github.com/mahmudhasan123/git-github
Some info about Git & Github
https://github.com/mahmudhasan123/git-github
git github
Last synced: about 1 year ago
JSON representation
Some info about Git & Github
- Host: GitHub
- URL: https://github.com/mahmudhasan123/git-github
- Owner: mahmudhasan123
- Created: 2023-03-05T04:40:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-09T11:23:31.000Z (over 3 years ago)
- Last Synced: 2025-03-13T10:36:20.069Z (over 1 year ago)
- Topics: git, github
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
git init : to initialize git in local folder \
git add . : to add all file & folder \
git status : to check status \
git reset : to revoke previous command or previous staging \
git commit -m : to save file in stage \
git reset --hard : to remove that write before commit. \
git reset HEAD~ \
git branch -M main \
git remote add origin \
git push -u origin main \
credential manager -> windows credential -> github : remove double account \
rm -rf : Directory Remove Command \
clear : command clear \
ssh origin এ পুশ করতে যদি সমস্যা হয় তখন .git ফোল্ডার ডিলিট করে দিয়ে নতুন করে https অরিজিনে পুশ করতে হবে \
টার্মিনাল হিসাবে git bash / cmd ব্যবহার করার ট্রাই করতে হবে \
git add index.html : add index.html in git \
যখন এক রিপজিটরির কোড অন্য রিপজিটরিতে পাঠানো হয় তখন কিছু কোড:
git remote remove origin : remove git origin \
git push --set-upstream origin main \
২ টা ইস্যু:
1. pull করে push করতে হবে।
2. git push --set-upstream origin main -f : ফোর্স করে পুশ করা \
git playlist :
procoder, learnwithsumit
git pull : fetching data from origin \
rejected error আসলে অনেক সময় git pull দিতে হয়। \
git branch : to see how much branch in git \
git branch : to create a branch in git \
git checkout : to switch between branch in git \
git merge : to merge branch in git \
git clone : to clone origin repository in local computer \
git config --global user.name "username" : to set username in git \
git config --global user.email "user@name.com" : to set email in git \