Skip to content

hadipic/configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

New Repository

echo "# configs" >> README.md
git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin [email protected]:hadipic/configs.git
git push -u origin main

Push Existing Repository

git remote add origin [email protected]:hadipic/configs.git
git branch -M main
git push -u origin main

Push Changes

git add .
git commit -m "Message"
git push origin BRANCH_NAME

Change Branches

git checkout -b BRANCH origin/BRANCH # تغییر برنچ و متصل کردن آن به گیت ریموت
## 
git checkout BRANCH # تغییر برنچ
##
git checkout -b BRANCH # ساخت برنچ جدید روی گیت لوکال

Fetch New Changes

git fetch --prune # دریافت اخرین تغییرات و حذف برنچ های اضافی
##
git fetch --all # دریافت اخرین تغییرات

Create SSH Key

ssh-keygen -t ed25519 -C "[email protected]"

[!] Press Enter for all

SSH Public Key path

~/.ssh/id_ed25519.pub

Configuring GIT

git config --global user.name "Hadi Bashniji"
git config --global user.email "[email protected]"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published