This commit is contained in:
2025-10-30 10:50:00 +05:30
parent d8d0cff609
commit 6dae510cfa
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# actual
git config --global user.name "YOUR_NAME"
git config --global user.email "you@example.com"
git init
git add -A
git commit -m "first commit"
git branch -M main
git remote add origin http://192.168.1.203:3000/<user>/<repo>.git
git push -u origin main
# example snippet
git remote set-url origin http://192.168.1.203:3000/dhruv/first.git
git config --global user.name "dhruv"
git config --global user.email "yuvrajyuvrajkukreja@gmail.com"
touch README.md
git add -A
git commit -m "first commit"
git branch -M main
git push -u origin main
# After you edit files (every time)
git add -A
git commit -m "update"
git push