Set up a Git repository: command lines
ฝัง
- เผยแพร่เมื่อ 25 ธ.ค. 2024
- #git #github #linux #commandline #local #remote
mkdir tmplocal
cd tmplocal/
git init
git branch -m main
git remote add origin git@github.com:mdini/tmp.git
git pull origin main
touch local.txt
git add local.txt
git commit -m 'local'
git push -u origin main